Premature end of script headers, 500 error - what's that mean?

They have: 1,587 posts

Joined: Mar 1999

any ideas of where or what the problem is just from this message "500 error, Premature end of script headers".

thanks in advance

They have: 1,587 posts

Joined: Mar 1999

thanks folks, i figured it out. ha, i needed to include a cgi-lib.pl file to get it working.

thanks again

----------
Isn't it time you started making money with your site!
http://www.birminghamnet.com/cgi-bin/links/pages/WebmasterResources/MakingMoney

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

They have: 15 posts

Joined: Mar 1999

I think it can also be caused by not having the line:-

print "Content-type: text/html\n\n";

in the script.

----------
John Slade (ICQ #19533369)
http://www.grandprix1.com - Everything for Microprose F1GP

They have: 453 posts

Joined: Jan 1999

Hi,

for faster debugging of scripts it's a good idea to add:
use CGI::Carp wq(fatalsToBrowser);
to your script (as early as possible).

just an idea.

ciao
Anti
ps:
stop surfing - start riding
http://www.biker-forum.com/

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.