note 26286 deleted from function.file-exists by victor
| From: | victor@php.net | Date: | Mon, 03 Mar 2003 17:54:03 +0000 |
| Subject: | note 26286 deleted from function.file-exists by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-44790@lists.php.net to get a copy of this message | ||
I am using Linux Red Hat 7.2
I have just upgraded from
Apache 1.3.x + PHP 4.2.1
to
Apache 2.0.43 + PHP 4.2.3
and suddenly all my file_exists() started to fail. All I can say is adding getcwd() at the beginning
makes it work again. Looks like something has changed in the way that file_exists() is working
between 4.2.1 and 4.2.3.
So file_exists ($file) fails but file_exists (getcwd() ."/". $file) works as expected.