note 26929 deleted from function.file-exists by victor
| From: | victor@php.net | Date: | Mon, 03 Mar 2003 17:54:34 +0000 |
| Subject: | note 26929 deleted from function.file-exists by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-44791@lists.php.net to get a copy of this message | ||
Another solution for the problem with relative paths with file_exists and Apache 2.0.43 + PHP 4.2.3
is :
file_exists($rel_path) //Original code
file_exists(realpath($rel_path)) //Modified one
It seems that realpath(..) works fine.
Moni