I apologize in advance for asking this because I suspect it's pretty basic for most of you, but I can't seem to get it right.

On my old script I used this;

$CGI::DISABLE_UPLOADS = 1;

and/or this;

$CGI::POST_MAX=1024 * 100;  # max 100K posts

at 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/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to