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