Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Malformed Header?

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.