Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Answer: What causes 'premature end of script headers'?

by gvs_jagan (Initiate)
on Jun 10, 2005 at 12:26 UTC ( #465531=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > What causes 'premature end of script headers'? - Answer contributed by gvs_jagan

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 Answer: What causes 'premature end of script headers'?
Log In?

What's my password?
Create A New User
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2018-05-28 03:36 GMT
Find Nodes?
    Voting Booth?