file_existsChecks whether a file or directory existsDescriptionboolfile_existsstringfilename
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.
Testing whether a file exists
]]>
¬e.clearstatcache;
&tip.fopen-wrapper.stat;
This function returns &false; for files inaccessible due to safe mode restrictions. However these
files still can be included if
they are located in safe_mode_include_dir.
See also is_readable, is_writable,
is_file and file.