Re: Oversized file behaviour

From: Date: Thu, 16 Dec 2004 17:45:52 +0000
Subject: Re: Oversized file behaviour
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-204506@lists.php.net to get a copy of this message
coding@digital-data.co.uk 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

« previous php.general (#204506) next »