Re: Uploaded files and $HTTP_POST_FILES
| From: | Jani Taskinen | Date: | Mon, 05 Nov 2001 00:32:03 +0000 |
| Subject: | Re: Uploaded files and $HTTP_POST_FILES | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69619@lists.php.net to get a copy of this message | ||
On Sun, 4 Nov 2001, Richard Heyes wrote:
>With 4.06 when a file was too large, the $HTTP_POST_FILES was still
>populated with the filename,
>but not a tmp_name. However after installing 4.2.0, the HTTP_POST_FILES
>array is completely empty. Is this intended behaviour?
Hmm..is this documented somewhere? :)
On this page: http://www.php.net/manual/en/features.file-upload.php
it is said that those variables are only created after
succesful upload. So IMO, it works as documented.
btw. Why not use the new true global vars: $_FILES[] for example? :)
--Jani