Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: HTTP POSTing problem

by earthboundmisfit (Chaplain)
on Dec 28, 2001 at 18:49 UTC ( #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
Node Status?
node history
Node Type: note [id://134881]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2018-10-22 18:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (121 votes). Check out past polls.

    Notices?