Nov 6, 2002, 11:12 AM
Post #4 of 4
I get this error a lot, and it mostly means that i have not CHMOD 755.
Re: [davorg] what is Premature end of script headers error?
[In reply to]
But, most of the time, i just think what it really means is:
"I can't be bothered to get your script to work, even though there is absolutly nothing wrong with".
I've left a script like this and come back the next day to find it works.
My advise is to use a proper log:
Add this to the top of your Perl Scripts.
open (STDERR, /pathtoyourcgi-bin/cgierror.txt");