note 93519 rejected from features.file-upload.post-method by thiago
| From: | thiago@php.net | Date: | Mon, 14 Sep 2009 12:27:51 +0000 |
| Subject: | note 93519 rejected from features.file-upload.post-method by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-160543@lists.php.net to get a copy of this message | ||
Note Submitter: php at vthiru dot com
----
Just a quick note about MAX_FILE_SIZE:
Using php 5.2.6, it seems that PHP only ever gets to read this value after the entire file (whatever
size is offered by the browser) is downloaded to the temp directory by apache. Only at that point
does PHP discard the post request (but still runs the script).
I don't have shell access on the server to verify this. Obviously it is a big waste of
bandwidth and disk space. Can anyone verify?