php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27760 file_exists function does not produce correct result
Submitted: 2004-03-29 16:45 UTC Modified: 2004-03-29 16:58 UTC
From: sean at bidamerica dot com Assigned:
Status: Not a bug Package: *Directory/Filesystem functions
PHP Version: 4.3.5 OS: Windows 2000 SP4
Private report: No CVE-ID: None
 [2004-03-29 16:45 UTC] sean at bidamerica dot com
Description:
------------
When using the file_exists function the function produces a only false output.

Reproduce code:
---------------
Using:
Windows 2000 
Service Pack 4
File System: NTFS
WebService: IIS 5

Example Function in Use:

if(file_exists('./hello.php')
{
   
}

The file does exist in the same directory, but however it produces a false.



Expected result:
----------------
I expect it to output true.

Actual result:
--------------
False

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-29 16:58 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Cannot replicate the problem in identical environment. The 
problem is likely the result of misconfiguration on the 
server or permissions issue. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC