note 45851 added to function.move-uploaded-file
| From: | tklinger at bluebottle dot com | Date: | Tue, 21 Sep 2004 17:11:10 +0000 |
| Subject: | note 45851 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77113@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45851
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45851&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45851&report=yes
Search -- http://master.php.net/manage/user-notes.php