in reply to large file upload fails on 'new CGI' request

Maybe your version of the CGI module has the CGI::POST_MAX value hardwired to be low, just big enough to get normal form posts. Try setting it higher in your script and see if it works.
$CGI::POST_MAX= 100000;
If that works, then you've found your problem. If not, it's probably some problem with the server configuration.

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: large file upload fails on 'new CGI' request
by stonebreaker (Initiate) on Jun 14, 2005 at 03:46 UTC
    Thanks for the POST_MAX idea. I tried it and it did not change the result. but it did help me plan another test which i describe in my reworded question. Basically the script without the "use Image::Magick" works fine...meaning that CGI is fine on it's own. just an interaction with "Image::Magick" that brings it down.