Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: HTTP POSTing problem

by earthboundmisfit (Chaplain)
on Dec 28, 2001 at 18:49 UTC ( [id://134881]=note: print w/replies, xml ) Need Help??


in reply to HTTP POSTing problem

Aside from the obvious invective to use CGI, strict, -wT , the first thing I notice is that you never print the required HTTP header:

print "Content-Type: text/html\n\n";

This would be enough to generate a 500 error. BTW, when using CGI.pm all you would have to do to accomplish this is type print header(). Secondly, you wouldn't have to worry about parsing the query string from the buffer. Check out Ovid's words on this, use CGI or die;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-24 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found