Reply to Re: [PHP] ini_set and upload_tmp_dir

Your name:

Reply:


Posted by Marek Kilimajer on 10/02/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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация