On my old script I used this; $CGI::DISABLE_UPLOADS = 1; and/or this; $CGI::POST_MAX=1024 * 100; # max 100K postsat the top of my scripts to help prevent DOS attacks and valid users from uploading really large files.
When I allow users to upload a file I use the "$CGI::POST_MAX", then I do this;
if ($Q->cgi_error()) {
$message = $Q->cgi_error()."<p>CGI Error";
&error_trap($message);
}
Could someone please tell me how to implement this when using CA?
Thank you,
--
Bill Stephenson
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.