Ok, this is getting me quite annoyed! Shouldnt the following code put the values of all the inputted info (wether via POST or GET) into variables within @input?
It just doesnt seem to like it when using POST
if ($ENV{REQUEST_METHOD} eq "GET") {
$forminput = $ENV{'QUERY_STRING'};
@input = split(/&/, $forminput);
} else {
read(STDIN, $forminput, $ENV{'CONTENT_LENGTH'});
@input = split(/&/, $forminput);
}
Thanks
Andy
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
It just doesnt seem to like it when using POST
if ($ENV{REQUEST_METHOD} eq "GET") {
$forminput = $ENV{'QUERY_STRING'};
@input = split(/&/, $forminput);
} else {
read(STDIN, $forminput, $ENV{'CONTENT_LENGTH'});
@input = split(/&/, $forminput);
}
Thanks
Andy
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!