Posted by Marek Kilimajer on 10/20/67 11:13
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.
Navigation:
[Reply to this message]
|