If you're talking about CGI forms and Web pages, then you
have to use something like this:
if ($ENV{'REQUEST_METHOD'} EQ 'GET')
{
@pairs = split (/&/, $ENV{'QUERY_STRING'});
}
elsif ($ENV{'REQUEST_METHOD'} EQ 'POST')
{
read (STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
@pairs = split(/&/, $buffer);
}
else
{
exit;
}
Just don't try using it on your AOL Web space; I don't
think they let you use CGI.