#37118 [Com]: is_file returns false for uploaded file

From: Date: Tue, 17 Feb 2009 10:14:30 +0000
Subject: #37118 [Com]: is_file returns false for uploaded file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-133898@lists.php.net to get a copy of this message
ID: 37118 Comment by: michal dot kocarek at brainbox dot cz Reported By: kimmo dot laine at zarga dot net Status: No Feedback Bug Type: Filesystem function related Operating System: Windows 2003 IIS 6 PHP Version: 5.1.2 New Comment: I experience this bug as well (PHP 5.2.8 running on IIS 6.0 on Windows 2003 Server). - file_exists returns false (error) - is_uploaded file returns true (good) - fopen(..., 'r') works as well as file_get_contents (good) I can say that before we upgraded from PHP 5.1.x to PHP 5.2.8, this bug was not there. I posted same message to Bug #38308. Previous Comments: ------------------------------------------------------------------------ [2006-08-02 16:04:00] fartal at lanbyte dot com Same bug found in Windows 2000 server IIS and PHP Version 4.3.11 ------------------------------------------------------------------------ [2006-06-28 01:00:02] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-06-20 15:09:26] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ [2006-04-24 06:18:11] kimmo dot laine at zarga dot net adding var_dump($_FILES['myfile']['tmp_name']); to the code echoes the following: string(27) "C:\WINDOWS\TEMP\phpAC2A.tmp" ------------------------------------------------------------------------ [2006-04-22 17:42:51] tony2001@php.net What do you get if you add var_dump($_FILES['myfile']['tmp_name']); to your code? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/37118 -- Edit this bug report at http://bugs.php.net/?id=37118&edit=1

« previous php.bugs (#133898) next »