Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Malformed Header?

by sevensven (Pilgrim)
on Oct 24, 2001 at 18:09 UTC ( [id://121116]=note: print w/replies, xml ) Need Help??


in reply to Malformed Header?

You need to add
print "Content-type: text/html\n\n";
before the
print "test\n";

You could check this simple article in devdaily.com, the Common Gateway Interface specification and, if you can, the use of CGI.pm

This sorry excuse for a monk would also sugest a switch from cgi to mod_perl, for better performance and more features, in the long run, if you could get the apache admin to set it up

Update: and you should drink from the monks knowledge in the Q&A about CGI programming

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found