Re: Question: Limiting Filetypes Uploaded

[prev] [thread] [next] [Date index for 2005/03/03]

From: Todd Finney
Subject: Re: Question: Limiting Filetypes Uploaded
Date: 22:58 on 03 Mar 2005
At 01:55 PM 3/3/2005 -0500, Jonathan Vanasco wrote:
>That leaves me with one last question -- does anyone know how to trap the 
>error when POST_MAX is reached?

I could be remembering incorrectly, but I'm pretty sure that you can just 
look at $apr->notes('error_notes'):

my $status=$apr->parse();
if ($status) {
         $error_message=$apr->notes('error_notes');
}

That will, of course, catch things besides exceeding POST_MAX, but that's 
probably a good thing.

(message missing)

Question: Limiting Filetypes Uploaded
Jonathan Vanasco 18:44 on 01 Mar 2005

Re: Question: Limiting Filetypes Uploaded
Dan Wilga 22:04 on 02 Mar 2005

Re: Question: Limiting Filetypes Uploaded
Jonathan Vanasco 23:08 on 02 Mar 2005

Re: Question: Limiting Filetypes Uploaded
Richard F. Rebel 00:21 on 03 Mar 2005

Re: Question: Limiting Filetypes Uploaded
jonathan vanasco 04:48 on 03 Mar 2005

Re: Question: Limiting Filetypes Uploaded
Richard F. Rebel 16:29 on 03 Mar 2005

Re: Question: Limiting Filetypes Uploaded
Dan Wilga 22:05 on 03 Mar 2005

Re: Question: Limiting Filetypes Uploaded
Jonathan Vanasco 18:55 on 03 Mar 2005

Re: Question: Limiting Filetypes Uploaded
Todd Finney 22:58 on 03 Mar 2005

Generated at 00:33 on 04 Mar 2005 by mariachi v0.52