On Wed, 2002-02-13 at 18:26, Reuben D Budiardja wrote: > Thanks. I follow the manual. I changed my php.ini: > upload_tmp_dir = '/home/web/' > which is writable by web (the user running apache/php) and restart apache. > > However, after I upload the file, I can't find it. When I do > print_r($HTTP_POST_FILE), here is what I got: > > Array ( [userfile] => Array ( [name] => timecard.png [type] => image/png > [tmp_name] => none [size] => 0 ) ) > > You see that [tmp_name] is none (whatever that means), and size is zero. > why is that? > The webserver and the browser is on local LAN, and there is no firewall. > > Thanks for any help. > Reuben D. Budiardja
First, check that the file size is less than the max upload size set in php.ini and/or the upload form. Second, what version of PHP are you running? -- Torben Wilson <[EMAIL PROTECTED]> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php