in reply to Restricting the size of Input file
I take it you are talking about scripts that use CGI.pm, i.e. contain the line
in some form (if you are using something older, such as cgi-lib, I recommend you switch to CGI.pm).use CGI
You want to set $CGI::POST_MAX to a sensible number of bytes, which will act as a limit on the size of uploads.
By the way, it's Perl or perl, not PERL.
--
Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)
|
|---|