[FASTCGI] How to retrieve POST data using perl fcgi

Lyle webmaster at cosmicperl.com
Fri Sep 7 08:31:31 EDT 2012

Check the CGI::Fast POD on cpan:
The query object $q will contain the post data for each request.


On 07/09/2012 06:57, Mike Chen wrote:
> Hi,
> I am using Apache 2.0, fcgi and  PERL 5.8. I use POST method in my 
> HTML form to submit data. On my server side, where can I retrieve 
> posted data? Here is my server side PERL code snippet:
> while (my $q = CGI::Fast->new) {
>    $post_data = <STDIN>;
> }
> I got nothing back from STDIN. I have hard time to find document 
> about  CGI::Fast API. I went through this list's archive articles and 
> FAQ. I did not see an answer.
> I would really appreciate any help (with some code snippet). Thanks!
> Peggy
> _______________________________________________
> FastCGI-developers mailing list
> FastCGI-developers at mailman.fastcgi.com
> http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers

More information about the FastCGI-developers mailing list