> From: Justin Hannus [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 30, 2003 8:12 PM
> 
> I agree with Wez, what if you are searching for a file with a relative
> file
> path, e.g:
> 
> <?php
> if (file_exists("somefile.php"))
> // ...
> 
> would return true if "somefile.php" is not in the current directory
but is
> in your include path, not what you expected. Besides, you can easily
> implement this functionality in php.

Uhm .. there is a parameter to control of you want to search your
include path which defaults to off.

Finally as an alternative I said I would also be fine if I could pass
multiple path's to check to file_exits().

Regards,
Lukas

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to