note 48928 added to features.file-upload
| From: | php-general at lists dot php dot net | Date: | Wed, 12 Jan 2005 07:34:06 +0000 |
| Subject: | note 48928 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-83126@lists.php.net to get a copy of this message | ||
Just notice that when I tried like this in my first page:
$_SESSION['myFile'] = $_FILES['uploadFile'];
And I tried to copy a file in my other page:
print_r($_SESSION['myFile']);
copy($_SESSION['myFile']['tmp_name'],
$_SESSION['myFile']['name']);
copy() wouldn't work though the $_FILES's values are still existed. Hope some people can
figure it out.
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48928
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48928&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48928&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48928&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48928&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48928&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48928&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48928&report=yes
Search -- http://master.php.net/manage/user-notes.php