in reply to What causes 'premature end of script headers'?

You could encounter the 'premature end of script headers'

1) In case you were trying to accept values from a html page thru textfields

per se

print p("enter your name" , textfield("nam","");

missing out on one of the coats could cause it. For instance

print p("enter your name", textfield("nam , ""); #the end coat near nam is missing, this could cause

2) Also if you forget paranthesis near the html headers . In the below mentioned case missing out the paranthesis near the end_html could cause you the error

print header, start_html() ;
end_html();# leaving the paranthesis here

regards jagan

  • Comment on Re: What causes 'premature end of script headers'?