in reply to reading CGI form data
As gjb pointed out, POST data (stuff submitted via Request-body) is put into STDIN of a CGI program and the program reads that stuff _once_.
Secondly, you should completely omit getHTTPData(), for it is what one might call a "Broken CGI Parser". use CGI or die;
Third, creating variables from foreign data is a security hole. You must not mix the source of your program and the data your program deals with.
If you really _need_ something like Request('...') you can write that function as wrapper around CGI::param().
--
|
|---|