note 18965 added to function.file-exists

From: Date: Mon, 11 Feb 2002 23:58:24 +0000
Subject: note 18965 added to function.file-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-26490@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/function.file-exists.php http://master.php.net/manage/user-notes.php?action=edit+18965 http://master.php.net/manage/user-notes.php?action=delete+18965 http://master.php.net/manage/user-notes.php?action=reject+18965

« previous php.notes (#26490) next »