manual for file_exists | search for "file_exists"
Manual © 2001-2008 The PHP Group
file_exists
Description
bool file_exists ( string filename)Returns TRUE if the file or directory specified by filename exists; FALSE otherwise.
On windows, use //computername/share/filename or \\computername\share\filename to check files on network shares.
Note: The results of this function are cached. See clearstatcache() for more details.
Tip: As of PHP 5.0.0 this function can also be used with some URL wrappers. Refer to Appendix L for a listing of which wrappers support stat() family of functionality.
See also is_readable(), is_writable(), is_file() and file().
© 2008 phparadise | go to the top | search phparadise | generated in 0.01 seconds
60 hits by 16 users in the last 30 minutes.