Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please Help!!! "Premature end of script headers"

Status
Not open for further replies.

jasonso

IS-IT--Management
Oct 11, 2002
2
HK
Server error!
The server encountered an internal error and was unable to complete your request.

Error message:

Premature end of script headers: yhreg.cgi

If you think this is a server error, please contact the webmaster

Error 500

Who can help me?
How can fix it?
 
before any print of your CGI,
you need a print "\n\n"

the server should send to the browser some data like:

HEADERAS
AT_LEAST_ONE_EMPTY_LINE
HTML_CONTENT

HEDERS cold be:
Location:
Cookie:
etc

For AT_LEAST_ONE_EMPTY_LINE
you need those print "\n\n"

PM

__
___
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top