Re: ini_set and upload_tmp_dir

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

 



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.

--
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