Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: cgi response

by chromatic (Archbishop)
on Jul 02, 2003 at 20:29 UTC ( #270939=note: print w/replies, xml ) Need Help??


in reply to cgi response

I think you mean Content-type: text/html\n\n. Note that it has a hyphen. If you were to use the CGI module, you could simply use the header() method with no arguments:

use CGI ':standard'; print header();

You'll find you have more luck parsing params with CGI.pm than trying to read from INPUT which probably isn't even open.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2022-12-07 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?