Problem with MAX_FILE_SIZE in PHP
<p>I have a flex-based image upload form, and I've lost its source code. Now there appeared a problem with uploading big images (about 10MB), but with the same images an old html-based form works correctly. In my php-file there's</p>

<pre><code>ini_set("post_max_size","64M");
ini_set("upload_max_filesize","64M");
</code></pre>

<p>Flex-based form returns file[error] = 2, that's MAX_FILE_SIZE error. It seems somewhere in flex there's an auto-generated field MAX_FILE_SIZE that it sends to server at the time it sends a file. I can't change this value in flex, so that's my question - is there a way to rewrite MAX_FILE_SIZE variable from php before php processes MAX_FILE_SIZE variable and generates error?</p>
