From: [EMAIL PROTECTED]
Operating system: Linux 2.4.18
PHP version: 4.2.3
PHP Bug Type: *Directory/Filesystem functions
Bug description: file_exists doesn't work
I am using php 4.2.3 with httpd 2.0.43.
The functions file_exists, is_file and file_size doesn't work at all.
file_exists("file.txt"); gives me "false" even if the file "file.txt"
exists in the same directory of the script containing that function.
If I use the full path of "file.txt",
file_exists("/full/path/to/file.txt"); gives me "true" and works well.
How to solve this problem? I can't use the full path in the scripts.
--
Edit bug report at http://bugs.php.net/?id=19784&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19784&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19784&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19784&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19784&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19784&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19784&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19784&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19784&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19784&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19784&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19784&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=19784&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=19784&r=isapi