There was no further response because it's no issue with the actual release.
There is already a workaround for this PHP bug integrated within ZF.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "Ryan Lange" <[email protected]>
To: <[email protected]>
Sent: Monday, October 12, 2009 3:43 PM
Subject: Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?


This is an old thread, but I noticed that no one actually hit upon the
*real* problem.

On Mon, Feb 16, 2009 at 7:28 AM, bytte <[email protected]> wrote:


Bug in my code or bug in Zend Framework?


Neither. It's an unfortunate short-coming of PHP itself.

http://us3.php.net/manual/en/ini.core.php#ini.post-max-size : "If the size
of post data is greater than post_max_size, the $_POST and $_FILES
superglobals are empty."

Files are uploaded as post data. If the file being uploaded pushes the post
data beyond the size allowed in php.ini, you get empty $_POST and $_FILES
superglobals, which is why ZF complains about not being able to find your
file field.


Reply via email to