note 31181 added to features.file-upload
| From: | php-general at lists dot php dot net | Date: | Sat, 12 Apr 2003 07:22:34 +0000 |
| Subject: | note 31181 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46536@lists.php.net to get a copy of this message | ||
I noticed with Windows/IIS and PHP that the move_uploaded_file does not seem to work (and does not
produce an error either!). Instead use copy($_FILES['userfile']['tmp_name'],
"./uploads/" . $_FILES['userfile']['name']);
--
http://www.php.net/manual/en/features.file-upload.php
http://master.php.net/manage/user-notes.php?action=edit+31181
http://master.php.net/manage/user-notes.php?action=delete+31181
http://master.php.net/manage/user-notes.php?action=reject+31181