File upload directive: $_FILES['filename']['name'] instead of $_FILES['filename']['tmp_name']
| From: | Andrei Iarus | Date: | Tue, 22 Dec 2009 22:29:31 +0000 |
| Subject: | File upload directive: $_FILES['filename']['name'] instead of $_FILES['filename']['tmp_name'] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-300635@lists.php.net to get a copy of this message | ||
Hello,
On my production & testing servers (production runs on a centrino and testing runs on Windows) I
can only access the temporary uploaded file using
ini_get( 'upload_tmp_dir' . '/' .
$_FILES['filename']['name'];
while the file $_FILES['filename']['tmp_name'] simply does not exist (checked
with file_exists() function, and also looking in the temporary folder).
Is there a problem with my PHP installations? Is there any directive to change this bihaviour?
On production: PHP 5.2.10 and on testing: PHP 5.2.8 and 5.3.0
Thanks in advance.