I entered the code world a couple years ago, and while the language keeps proving itself one of the most powerfull available, the Perl community just couldn´t be more supporting! Happy to have you guys with me!
I went with the most simple one, the -s monkfan suggested. Monkfan, this was just what I was looking for! Thanks!
You guys also mentioned the $CGI::POST_MAX variable, wich is an extra security I have added. I wan´t bothering with users landing huge files on my disk, as long as I could get rid of them after checking the handle size. But it sure is a good thing to do.
Also thanks a lot for the important info you provided on the CGI.pm internals, qbxk! Very interessting this detail, that the ->upload function is not the one triggering the upload, as I expected too. I'll keep that in mind now.
Well, all implemented. Thanks a lot folks!
André
In reply to Re^2: Limiting size of uploads
by Andre_br
in thread Limiting size of uploads
by Andre_br
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |