note 45851 deleted from function.move-uploaded-file by tomsommer
| From: | tomsommer@php.net | Date: | Wed, 22 Sep 2004 19:32:46 +0000 |
| Subject: | note 45851 deleted from function.move-uploaded-file by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77200@lists.php.net to get a copy of this message | ||
Note Submitter: tklinger at bluebottle dot com
----
I recognized that if magic_quotes_gpc is activated and PHP is running on a Windows platoform (like
using XAMPP from apachefriends.org) it happens that the temporary filename
$_FILE['myfile']['tmp_name'] looks like C:xampptmpphp4b.tmp.
It strips out the '\' in the temporary filename.
A solution for this is to set magic_quotes_gpc in your php.ini to off.