Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Querying database data in perl cgi script

by rowdog (Curate)
on Oct 01, 2010 at 03:42 UTC ( #862897=note: print w/replies, xml ) Need Help??

in reply to Quering database data in perl cgi script

print "<html>"; print '<head>'; print "Content-Type: text/html\n\n";

One problem is that it's traditional to send the tags after the headers. Try something like...

print "Content-Type: text/html\n\n"; print "<html>"; print '<head>';

Replies are listed 'Best First'.
Re^2: Querying database data in perl cgi script
by Anonymous Monk on Oct 01, 2010 at 07:01 UTC
    rowdog, you are a comic genius -- RFCs are traditional, ROFLMAO!!!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://862897]
[Corion]: Muh. Maybe I should give a talk about how to program for auditors, as I find that this changes my approach to programs a bit ;)
[Corion]: (well, especially logging, as about everything about every decision a program makes could/should be logged :))

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-05-23 15:51 GMT
Find Nodes?
    Voting Booth?