note 18965 deleted from function.file-exists by sniper
| From: | sniper@php.net | Date: | Sun, 23 Nov 2003 01:28:32 +0000 |
| Subject: | note 18965 deleted from function.file-exists by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60846@lists.php.net to get a copy of this message | ||
Note Submitter: robertblanch@iname.com
----
file_exists() does not appear to use the include_path variable defined in php.ini that require() and
include() use. So the code
if( file_exists( 'include.php'))
require('include.php');
may not include the file, even if
require('include.php');
has no problems.