file_exists search the include_path?

From: Date: Thu, 25 Jan 2001 22:05:44 +0000
Subject: file_exists search the include_path?
Groups: php.general 
Request: Send a blank email to php-general+get-36709@lists.php.net to get a copy of this message
I thought I saw in one of the older manuals that there is an optional second parameter to 'file_exists' that will tell it too search the 'include_path' for a file instead of using an absolute path. However, I can't seem to find this documentation any more. Does anyone know if this still works? How it works? If it's just a second boolean parameter or what? In other words, instead of: if (file_exists("/www/inc/my_script.php")) {...} I'd like to say: if (file_exists("my_script.php", TRUE)) {...} // or something like this assuming "/www/inc" is part of my include_path. Thanks. Dean.

« previous php.general (#36709) next »