Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Malformed Header?

by sevensven (Pilgrim)
on Oct 24, 2001 at 18:09 UTC ( #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
Node Status?
node history
Node Type: note [id://121116]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2020-10-22 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (229 votes). Check out past polls.

    Notices?