Thanks man. Appreciate your answer so long after the thread was started.


Ryan Lange wrote:
> 
> 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 <thomas.bytteb...@gmail.com> 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.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/User-uploads-file-bigger-than-what%27s-allowed-in-php.ini%2C-can-it-be-caught--tp21936346p25869083.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to