Re: ini_set and upload_tmp_dir

From: Date: Thu, 14 Apr 2005 19:24:27 +0000
Subject: Re: ini_set and upload_tmp_dir
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213111@lists.php.net to get a copy of this message
Reynier Perez Mira wrote:
Hi: I'm try to change de value for the PHP config var upload_tmp_dir with objetive to make an file upload an access more easy to superglobal array $_FILES['fichero']['tmp_name']. Into my php file just in the start I have this: ini_set("upload_tmp_dir","C:\\PHP5\\tmp\\"); The directory exists because I made it's after. What's wrong?
http://docs.php.net/en/ini.html upload_tmp_dir is PHP_INI_SYSTEM - Entry can be set in php.ini or httpd.conf It's logical, by the time your script is executed the file is already uploaded.

« previous php.general (#213111) next »