Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-07-17 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (353 votes). Check out past polls.

    Notices?