[tpm] How to retrieve post

Adam Prime adam.prime at utoronto.ca
Thu Aug 28 05:39:03 PDT 2008


under mod_perl, you should probably use Apache::Request, which is part 
of libapreq.  Apache::Request is from what i understand quite a bit 
lighter than CGI.pm

http://httpd.apache.org/apreq/

That doesn't mean that you couldn't write your own code to read the raw 
post data (which afaik you do just by reading from STDIN).

Adam

YueSong Xu wrote:
> Hello everyone,
> 
> Instead of using CGI.pm, how can I write perl raw code to get all the HTTP post params as a whole string on Apache (mod_perl 1.29)? Any %ENV?
> Thanks a lot.
> 
> 
> 
>       
> _______________________________________________
> toronto-pm mailing list
> toronto-pm at pm.org
> http://mail.pm.org/mailman/listinfo/toronto-pm



More information about the toronto-pm mailing list