Re: File input from form not detected
| From: | Paul Burney | Date: | Fri, 30 May 2003 13:31:05 +0000 |
| Subject: | Re: File input from form not detected | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28164@lists.php.net to get a copy of this message | ||
on 05/30/2003 9:16 AM, Dewi Wahyuni at xueh@lycos.com appended the following
bits to my mbox:
> if($userfile) it fails. BUT $userfile_name is able to display the filename .
I just tried the script on your site...
It looks like you are trying to fopen the actual file name. You need to
fopen the temp file name, i.e., $_FILES["userfile"]["tmp_name"], usually
something like /tmp/phpCcDfs.
HTH.
Paul