Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2017-02-26 02:50 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (371 votes). Check out past polls.