Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: CGI.pm POST_MAX not working

by adjuvant (Novice)
on Jan 20, 2018 at 23:03 UTC ( [id://1207603]=note: print w/replies, xml ) Need Help??


in reply to Re: CGI.pm POST_MAX not working
in thread CGI.pm POST_MAX not working

Are you kidding me? That was absolutely the solution. For the internet's future reference (and in case anyone besides me is still using CGI), POST_MAX has to be set in the script receiving the POST, not the script sending the POST. I don't know why that wasn't clear, but it absolutely wasn't. The CGI documentation left me with the impression that POST_MAX would prevent a script from submitting a too-large post, not that it would prevent a script from receiving a too-large post.

Thank you!

Replies are listed 'Best First'.
Re^3: CGI.pm POST_MAX not working
by Your Mother (Archbishop) on Jan 20, 2018 at 23:14 UTC

    Don't feel bad. Easy and common mistake for early attempts in this area. Note however that the first form/CGI does not send the POST at all; it sends nothing to the second. It presents a form to the browser which gives the browser the parameters that it should POST and where to do it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-25 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found