ID: 44420
Updated by: jani@php.net
Reported By: jturner at paycomonline dot com
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: Windows Server 2003
PHP Version: 5.2.5
New Comment:
Is that path writable/readable by the user with which the webserver
runs as?
Previous Comments:
------------------------------------------------------------------------
[2008-03-12 16:36:02] jturner at paycomonline dot com
Description:
------------
The upload_tmp_dir directive is set in the php.ini to
"C:\DOCUME~1\ADMINI~1.HQ-\LOCALS~1\Temp\php\upload" and shows up as such
when running phpinfo(). However, when I try to upload a file it fails,
and print_r($_FILES) reports that "tmp_name" is set to
"C:\WINDOWS\TEMP\[filename]". It appears that the directive is being
ignored in favor of the environment variable, which is contrary to the
documentation.
PHP5.2.5/IIS6.0/Windows Server 2003
A search of the bug database turned up bug #39451 which appears to be
similar but was marked as fixed in 5.2.1RC3.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44420&edit=1