note 31995 rejected from features.file-upload.common-pitfalls by stone
| From: | stone@php.net | Date: | Mon, 12 May 2003 19:51:15 +0000 |
| Subject: | note 31995 rejected from features.file-upload.common-pitfalls by stone | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-47885@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?