in reply to getting sometimes empty cgi form with post
Have you tried the following? ...
use CGI::Carp qw(fatalsToBrowser);
It sends fatal errors to the web page, which is a great help when you're debugging.
You can also look at the logs, which will be some place like /var/log/httpd if you're on a Linux system. As user "root", do:
and see if you get any errors that way.# tail -100f /var/log/http/error_log
Finally, if you don't have:
use strict; use warnings;
near the beginning of the CGI script(s), I'd strongly recommend putting them in. They will often help you catch problems you wouldn't otherwise have noticed.
Good luck!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: getting sometimes empty cgi form with post
by david2008 (Scribe) on Mar 07, 2010 at 15:14 UTC | |
by liverpole (Monsignor) on Mar 07, 2010 at 16:30 UTC |