in reply to Using the CGI Module to upload Files.

Just set this line to a positive number to limit POST size.

#$CGI::POST_MAX = -1; $CGI::POST_MAX = 10000000;

To limit total size some form of filesystem quota is handiest. The best solution for that will depend oh your http server and OS.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: Using the CGI Module to upload Files.
by LostS (Friar) on Jul 10, 2001 at 06:47 UTC
    Server Info: Perl Version: 5.00402 SERVER_SOFTWARE = Apache/1.3.12 (Unix) PHP/3.0.16 SERVER_OD = BSDI BSD/OS 4.0.1