in reply to 'Premature end of script' errors running script as CGI

When I get one of those I usually go to the command line and try to run the script (assuming no harm can result from that).

That usually shows the error, because it's usually something simple (a mispelled variable or something).

Try doing the same.

  • Comment on Re: 'Premature end of script' errors running script as CGI