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.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php