#19784 [Fbk->NoF]: file_exists doesn't work
| From: | php-bugs at lists dot php dot net | Date: | Tue, 22 Oct 2002 06:00:06 +0000 |
| Subject: | #19784 [Fbk->NoF]: file_exists doesn't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23006@lists.php.net to get a copy of this message | ||
ID: 19784
Updated by: php-bugs@lists.php.net
Reported By: m.martinello@iol.it
-Status: Feedback
+Status: No Feedback
Bug Type: *Directory/Filesystem functions
Operating System: Linux 2.4.18
PHP Version: 4.2.3
New Comment:
No feedback was provided for this bug for over 2 weeks, 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".
Previous Comments:
------------------------------------------------------------------------
[2002-10-06 14:59:33] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-10-06 14:59:05] m.martinello@iol.it
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 this bug report at http://bugs.php.net/?id=19784&edit=1