ID: 32387 Updated by: [EMAIL PROTECTED] Reported By: ricike at aporisk dot hu Status: Open -Bug Type: *Configuration Issues +Bug Type: Documentation problem Operating System: Windows Server 2003 / IIS 6.0 PHP Version: 4.3.10 New Comment:
Ah yes, this is the inherent problem of using the registry. The values from it are used AFTER upload has already happened (and just before script is executed) Moving to documentation problem, there was also other one.. Previous Comments: ------------------------------------------------------------------------ [2005-03-21 01:40:26] ricike at aporisk dot hu I tried the snapshot. The situation is the same, phpinfo() shows the correct configuration, but $_FILES["file"]["tmp_name"] always points to the path defined in php.ini, regardless of the Per Directory Values. ------------------------------------------------------------------------ [2005-03-20 22:59:20] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2005-03-20 22:32:37] ricike at aporisk dot hu Description: ------------ I have changed in php.ini the upload_tmp_dir to a directory which i want to use for most of the websites. And i used the "Per Directory Values" thing in the registry for a specific website's wwwroot to use an other temp dir for file uploads. When phpinfo() is called, it says the correct local and master values, but when i upload a file, it is uploaded into the the temp directory specified in php.ini, not to the directory specified for that website. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32387&edit=1