- or download this
# A simple HTTP request parser to emulate ASP request.xxx<
...
return \%vars;
}
- or download this
use CGI ':standard';
print "Content-type: text/html\n\n";
...
print "<p><b>Key:</b> $name <b>Value(s):</b> @values";
}
- or download this
$request = getHTTPData();
print "<br> fromtime is ". $request->{"fromTime"};
- or download this
for each fld in request.form
# do stuff with the name and value
next
- or download this
foreach fld in formdata{
make a variable named $fld have a value of $value
}