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

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 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://134881]
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
Find Nodes?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...

    Results (121 votes). Check out past polls.