Re: How to retrieve POST data using perl fcgi
Lyle <[email protected]> Fri, 07 Sep 2012 13:31:31 +0100
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Check the CGI::Fast POD on cpan:
http://search.cpan.org/~markstos/CGI.pm-3.60/lib/CGI/Fast.pm
The query object $q will contain the post data for each request.
Lyle
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-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
> http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers