Hello,
Relative newbie here...
I have a file upload script working but am concerned about denial of service attacks by individuals attempting to upload large files. I have successfully done my own byte counting to eliminate large files, but I would like to intercept CGI::Post_max errors and send a useful msg to my user, informing them that the file is too large. Hopefully this will eliminate the upload of the temp file by CGI prior to my script getting control. I have been unable to get CGI::Post_Max working. When I enable Post_Max and attempt to send a file larger than the max, I get "Page cannot be displayed". I have been through the postings on this topic but have been unable to solve.
Thanks for reading,
Nick