Re: File input from form not detected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux