Could be lots of things, but the most obvious is that you don't print any http headers or any response to the http request. Does it work from the command line?
After Compline,
Zaxo
In reply to Re: 'Premature end of script' errors running script as CGI
by Zaxo
in thread 'Premature end of script' errors running script as CGI
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |