Re: Oversized file behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



coding@xxxxxxxxxxxxxxxxxx wrote:

Hello people.
I am working on a file upload script, which has an upload limit of 2MB (set by directive in php.ini). when I try to upload a file that is larger than that it loads the page it is meant to but something strange happens to the $_POST data, it all seems to dissappear. can someone clarify quite what happens when an upload is larger than the legal limit.

it's probably not the upload_max_filesize but the post_max_size. File uploads are effected by settings other than the upload_max_filesize. If you happen to exceed the maximum allowed size for POST the $_POST may disappear.



Cheers, Tom



--
Raditha Dissanayake.
------------------------------------------------------------------
http://www.radinks.com/print/card-designer/ | Card Designer Applet
http://www.radinks.com/upload/ | Drag and Drop Upload


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux