Re: Upload dir

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

 



my mistake.... didn't use move_uploaded_file to see if the uploading
is working or not in the first case....

but i could not understand why
   1. ini_get() is giving correct value while
$_FILES['file']['tmp_name'] is ignoring that.
   2. move_uploaded_file($_FILES['file']['tmp_name'], 'file.php'); is
working fine but file_exists($_FILES['file']['tmp_name']) is returning
false
   3. php_admin_value upload_tmp_dir "/var/www/html"
in httpd.conf seems to work ($_FILES['file']['tmp_name'] is not ignoring that);

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux