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 |