Image

Imagefortifiedi wrote in Imagephp

POST data lost when uploading large files...

This might be a little specialized for this community and I should probably ask the Zend folks directly, but I thought I'd try here first.



I'm basically building an app using Zend Framework 1.6 that will be doing some transcoding of media files - but this is pretty much a generic PHP situation. I'm sending a few variables from the form via POST such as project id and filetype selection.



When the files are relatively small (say, 3MB or smaller) everything works fine. When the files are a little larger (say 18MB), the POST data from the view seems to get lost in the shuffle and isn't received by the controller. I was getting errors from PHP about the upload size, but I increased the max to 1000MB in php.ini and that no longer appears to be the issue.



here's the code



So yeah... the path ends up with blank variables when the file size gets bigger. PHP doesn't fire any errors.

Oh, and platform is Ubuntu 8.10, PHP 5.2.6

----

*update* It was the maximum POST value allowed in php.ini

Is there any down side to increasing this to, say, 1GB if your server has plenty of RAM?