Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Perl CGI Cookies "Content-Type:text/html" showing at top of html.

by wfsp (Abbot)
on Aug 19, 2011 at 09:41 UTC ( #921202=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Perl CGI Cookies "Content-Type:text/html" showing at top of html.
in thread Perl CGI Cookies "Content-Type:text/html" showing at top of html.

print "Content-type:text/html\n\n";
You will need to add a print header; line in your other if clauses. Otherwise your script will crash. (or set a flag when you have sent it and test the flag to see if it needs sending)


Comment on Re^3: Perl CGI Cookies "Content-Type:text/html" showing at top of html.
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://921202]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-10-02 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls