Re: max_file_uploads INI_PERDIR

From: Date: Sat, 18 Feb 2012 18:11:39 +0000
Subject: Re: max_file_uploads INI_PERDIR
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-57902@lists.php.net to get a copy of this message
On Feb 18, 2012, at 2:33 AM, "Gustavo Lopes" <glopes@nebm.ist.utl.pt> wrote: > On Fri, 17 Feb 2012 22:59:20 +0100, Rasmus Lerdorf <rasmus@lerdorf.com> wrote: > > >> The main reason is that our default for max_file_uploads is rather low >> and since we count empty uploads against this limit it is easy for apps >> to hit this. So if you have more than 20 type="file" fields in a form, >> even if the user only actually uploads a single file, it will hit this >> limit and fail. >> > > This is not true since PHP 5.3.4. See request #50692 (don't count 0-bytes files towards > the max_file_uploads limit). > That's good, but it still doesn't make sense to me that the scope of this is different from those other related settings. -Rasmus

« previous php.internals (#57902) next »