Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57901 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35787 invoked from network); 18 Feb 2012 10:33:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2012 10:33:19 -0000 Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.22 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.22 smtp2.ist.utl.pt Linux 2.6 Received: from [193.136.128.22] ([193.136.128.22:58397] helo=smtp2.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/82-12233-C6E7F3F4 for ; Sat, 18 Feb 2012 05:33:17 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.ist.utl.pt (Postfix) with ESMTP id 38DD5700048C; Sat, 18 Feb 2012 10:33:13 +0000 (WET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp2.ist.utl.pt ([127.0.0.1]) by localhost (smtp2.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id ZcK2N07oEXad; Sat, 18 Feb 2012 10:33:13 +0000 (WET) Received: from mail2.ist.utl.pt (mail.ist.utl.pt [IPv6:2001:690:2100:1::8]) by smtp2.ist.utl.pt (Postfix) with ESMTP id D0BE070003C5; Sat, 18 Feb 2012 10:33:12 +0000 (WET) Received: from damnation.mshome.net (damnation-air.nl.lo.geleia.net [IPv6:2001:470:94a2:4:7d06:1af1:ea64:2d52]) (Authenticated sender: ist155741) by mail2.ist.utl.pt (Postfix) with ESMTPSA id C13922005821; Sat, 18 Feb 2012 10:33:11 +0000 (WET) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "PHP internals" , "Rasmus Lerdorf" References: <4F3ECDB8.6030405@lerdorf.com> Date: Sat, 18 Feb 2012 11:33:07 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Organization: =?utf-8?Q?N=C3=BAcleo_de_Eng=2E_Biom=C3=A9di?= =?utf-8?Q?ca_do_I=2ES=2ET=2E?= Message-ID: In-Reply-To: <4F3ECDB8.6030405@lerdorf.com> User-Agent: Opera Mail/11.60 (Win32) Subject: Re: [PHP-DEV] max_file_uploads INI_PERDIR From: glopes@nebm.ist.utl.pt ("Gustavo Lopes") On Fri, 17 Feb 2012 22:59:20 +0100, Rasmus Lerdorf 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). -- Gustavo Lopes