in reply to Mod CGI problems with POST
The problem is that you're creating two CGI objects:
my $q = new CGI; ... q = new CGI;
Only the first one can read the POST body from STDIN. When the second one tries to read it, the stream is gone, and you've overwritten the original object, so the data is gone too.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mod CGI problems with POST
by cormanaz (Deacon) on May 31, 2007 at 01:20 UTC | |
by chromatic (Archbishop) on May 31, 2007 at 06:07 UTC | |
by cormanaz (Deacon) on May 31, 2007 at 14:45 UTC | |
by chromatic (Archbishop) on May 31, 2007 at 18:10 UTC |