Re: Upload dir

From: Date: Fri, 11 Dec 2009 08:07:53 +0000
Subject: Re: Upload dir
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-300384@lists.php.net to get a copy of this message
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);

« previous php.general (#300384) next »