http://qs1969.pair.com?node_id=201558


in reply to Re: Beating the system
in thread Beating the system

Thanks for the tip, but I actually have $CGI::POST_MAX set in my script to the constant MAX_FILE_SIZE, which is 1_048_576. Without setting it myself, and just printing its value, it returns -1.

Replies are listed 'Best First'.
Re: Re: Re: Beating the system
by diotalevi (Canon) on Sep 29, 2002 at 16:00 UTC

    You know... from what I said in another node I think you might have some mileage in knocking that limit down some - keep CGI's use of memory lower and all. A closer reading of CGI.pm leads me to think it's not as big a deal but perhaps... Consider using Devel::Peek on your CGI object's BUFFER member.

Re: Re: Re: Beating the system
by blm (Hermit) on Sep 29, 2002 at 15:35 UTC

    Oops. Sorry. I don't know how I missed that

    --blm-- If you don't like this post can you please /msg me