philip Thu Feb 20 12:27:25 2003 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions file-exists.xml
Log:
Use of &file.clearstatcache; and ¬e.no-remote; and mention checks if
directories exist too.
Index: phpdoc/en/reference/filesystem/functions/file-exists.xml
diff -u phpdoc/en/reference/filesystem/functions/file-exists.xml:1.4
phpdoc/en/reference/filesystem/functions/file-exists.xml:1.5
--- phpdoc/en/reference/filesystem/functions/file-exists.xml:1.4 Thu Oct 17
21:00:32 2002
+++ phpdoc/en/reference/filesystem/functions/file-exists.xml Thu Feb 20 12:27:25
+2003
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.file-exists">
<refnamediv>
<refname>file_exists</refname>
- <refpurpose>Checks whether a file exists</refpurpose>
+ <refpurpose>Checks whether a file or directory exists</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -13,18 +13,14 @@
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<simpara>
- Returns &true; if the file specified by
+ Returns &true; if the file or directory specified by
<parameter>filename</parameter> exists; &false; otherwise.
</simpara>
- <simpara>
- This function will not work on <link
- linkend="features.remote-files">remote files</link>; the file to
- be examined must be accessible via the server's filesystem.
- </simpara>
- <simpara>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
- </simpara>
+
+ &file.clearstatcache;
+
+ ¬e.no-remote;
+
<note>
<title>Using Windows shares</title>
<para>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php