note 31995 added to features.file-upload.common-pitfalls
| From: | turgon64 at hotmail dot com | Date: | Mon, 12 May 2003 14:48:41 +0000 |
| Subject: | note 31995 added to features.file-upload.common-pitfalls | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47875@lists.php.net to get a copy of this message | ||
I Have a problem when I try to send a file when his size is more than 5 kb, the error is that:
Warning: Unable to open 'none' for reading: No such file or directory in
c:\apache\htdocs\mailing\index.php on line 9
and in the line 9 I have put:
copy($HTTP_POST_FILES['userfile']['tmp_name'],
$HTTP_POST_FILES['userfile']['name']);
What can it be the problem?
--
http://www.php.net/manual/en/features.file-upload.common-pitfalls.php
http://master.php.net/manage/user-notes.php?action=edit+31995
http://master.php.net/manage/user-notes.php?action=delete+31995
http://master.php.net/manage/user-notes.php?action=reject+31995