philip Sat Feb 22 13:55:36 2003 EDT Modified files: /phpdoc/en/reference/filesystem/functions chmod.xml filetype.xml glob.xml file-exists.xml fileatime.xml lstat.xml stat.xml filemtime.xml is-readable.xml filegroup.xml filectime.xml fileperms.xml fileowner.xml fileinode.xml chown.xml fstat.xml is-executable.xml filesize.xml disk-total-space.xml disk-free-space.xml link.xml Log: A global filesystem commit: Made use of entities note.no-remote and note.clearstatcache, added <?php ?>, See also's, some example cleanup, and minor changes.
Index: phpdoc/en/reference/filesystem/functions/chmod.xml diff -u phpdoc/en/reference/filesystem/functions/chmod.xml:1.5 phpdoc/en/reference/filesystem/functions/chmod.xml:1.6 --- phpdoc/en/reference/filesystem/functions/chmod.xml:1.5 Fri Jan 3 16:35:33 2003 +++ phpdoc/en/reference/filesystem/functions/chmod.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.chmod"> <refnamediv> @@ -26,9 +26,11 @@ <informalexample> <programlisting role="php"> <![CDATA[ +<?php chmod ("/somedir/somefile", 755); // decimal; probably incorrect chmod ("/somedir/somefile", "u+rwx,go+rx"); // string; incorrect chmod ("/somedir/somefile", 0755); // octal; correct value of mode +?> ]]> </programlisting> </informalexample> @@ -46,6 +48,7 @@ <informalexample> <programlisting role="php"> <![CDATA[ +<?php // Read and write for owner, nothing for everybody else chmod ("/somedir/somefile", 0600); @@ -57,6 +60,7 @@ // Everything for owner, read and execute for owner's group chmod ("/somedir/somefile", 0750); +?> ]]> </programlisting> </informalexample> @@ -73,6 +77,9 @@ <para> &return.success; </para> + + ¬e.no-remote; + <para> See also <function>chown</function> and <function>chgrp</function>. Index: phpdoc/en/reference/filesystem/functions/filetype.xml diff -u phpdoc/en/reference/filesystem/functions/filetype.xml:1.6 phpdoc/en/reference/filesystem/functions/filetype.xml:1.7 --- phpdoc/en/reference/filesystem/functions/filetype.xml:1.6 Sat Jan 4 18:57:19 2003 +++ phpdoc/en/reference/filesystem/functions/filetype.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filetype"> <refnamediv> @@ -21,15 +21,11 @@ produce an <constant>E_NOTICE</constant> message if the stat call fails or if the file type is unknown. </para> - <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </para> - <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> + + ¬e.clearstatcache; + + ¬e.no-remote; + <simpara> See also: <function>is_dir</function>, <function>is_file</function>, <function>is_link</function>, <function>file_exists</function>, and Index: phpdoc/en/reference/filesystem/functions/glob.xml diff -u phpdoc/en/reference/filesystem/functions/glob.xml:1.6 phpdoc/en/reference/filesystem/functions/glob.xml:1.7 --- phpdoc/en/reference/filesystem/functions/glob.xml:1.6 Fri Nov 15 20:50:30 2002 +++ phpdoc/en/reference/filesystem/functions/glob.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.glob"> <refnamediv> <refname>glob</refname> @@ -86,6 +86,9 @@ </programlisting> </example> </para> + + ¬e.no-remote; + <para> See also <function>opendir</function>, <function>readdir</function> and Index: phpdoc/en/reference/filesystem/functions/file-exists.xml diff -u phpdoc/en/reference/filesystem/functions/file-exists.xml:1.6 phpdoc/en/reference/filesystem/functions/file-exists.xml:1.7 --- phpdoc/en/reference/filesystem/functions/file-exists.xml:1.6 Thu Feb 20 17:45:14 2003 +++ phpdoc/en/reference/filesystem/functions/file-exists.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.file-exists"> <refnamediv> @@ -16,11 +16,6 @@ Returns &true; if the file or directory specified by <parameter>filename</parameter> exists; &false; otherwise. </simpara> - - ¬e.clearstatcache; - - ¬e.no-remote; - <note> <title>Using Windows shares</title> <para> @@ -47,6 +42,11 @@ </programlisting> </example> </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + <para> See also <function>is_readable</function>, <function>is_writable</function>, <function>is_file</function> and <function>file</function>. Index: phpdoc/en/reference/filesystem/functions/fileatime.xml diff -u phpdoc/en/reference/filesystem/functions/fileatime.xml:1.2 phpdoc/en/reference/filesystem/functions/fileatime.xml:1.3 --- phpdoc/en/reference/filesystem/functions/fileatime.xml:1.2 Wed Apr 17 02:38:07 2002 +++ phpdoc/en/reference/filesystem/functions/fileatime.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fileatime"> <refnamediv> @@ -17,10 +17,6 @@ an error. The time is returned as a Unix timestamp. </simpara> <simpara> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </simpara> - <simpara> Note: The atime of a file is supposed to change whenever the data blocks of a file are being read. This can be costly performancewise when an application regularly @@ -30,10 +26,15 @@ news spools are a common example. On such filesystems this function will be useless. </simpara> + + ¬e.clearstatcache; + + ¬e.no-remote; + <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. + See also <function>filemtime</function>, + <function>fileinode</function>, and + <function>date</function>. </simpara> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/lstat.xml diff -u phpdoc/en/reference/filesystem/functions/lstat.xml:1.2 phpdoc/en/reference/filesystem/functions/lstat.xml:1.3 --- phpdoc/en/reference/filesystem/functions/lstat.xml:1.2 Wed Apr 17 02:38:09 2002 +++ phpdoc/en/reference/filesystem/functions/lstat.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.lstat"> <refnamediv> @@ -41,14 +41,14 @@ * - only valid on systems supporting the st_blksize type--other systems (i.e. Windows) return -1. </para> - <para> - <function>lstat</function> cannot be used on <link - linkend="features.remote-files">remote files</link>. - </para> - <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + + <simpara> + See also <function>stat</function> + </simpara> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/stat.xml diff -u phpdoc/en/reference/filesystem/functions/stat.xml:1.2 phpdoc/en/reference/filesystem/functions/stat.xml:1.3 --- phpdoc/en/reference/filesystem/functions/stat.xml:1.2 Wed Apr 17 02:38:10 2002 +++ phpdoc/en/reference/filesystem/functions/stat.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.stat"> <refnamediv> @@ -13,7 +13,15 @@ <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> - Gathers the statistics of the file named by filename. + Gathers the statistics of the file named by + <parameter>filename</parameter>. If <parameter>filename</parameter> + is a symbolic link, statistics are from the file itself, not the + symlink. <function>lstat</function> is identical to <function> + stat</function> except it would instead be based off the symlinks + status. + </para> + <para> + In case of error, <function>stat</function> returns &false; </para> <para> Returns an array with the statistics of the file with the @@ -36,16 +44,15 @@ * - only valid on systems supporting the st_blksize type--other systems (i.e. Windows) return -1. </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + <para> - Returns &false; in case of error. - </para> - <para> - <function>stat</function> cannot be used on <link - linkend="features.remote-files">remote files</link>. - </para> - <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. + See also <function>lstat</function>, + <function>filemtime</function>, and + <function>filegroup</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/filemtime.xml diff -u phpdoc/en/reference/filesystem/functions/filemtime.xml:1.3 phpdoc/en/reference/filesystem/functions/filemtime.xml:1.4 --- phpdoc/en/reference/filesystem/functions/filemtime.xml:1.3 Mon Dec 30 01:44:49 2002 +++ phpdoc/en/reference/filesystem/functions/filemtime.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filemtime"> <refnamediv> @@ -17,17 +17,13 @@ an error. The time is returned as a Unix timestamp, which is suitable for the <function>date</function> function. </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </para> - <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> - <para> - Note: This function returns the time when the data + This function returns the time when the data blocks of a file were being written to, that is, the time when the content of the file was changed. </para> Index: phpdoc/en/reference/filesystem/functions/is-readable.xml diff -u phpdoc/en/reference/filesystem/functions/is-readable.xml:1.2 phpdoc/en/reference/filesystem/functions/is-readable.xml:1.3 --- phpdoc/en/reference/filesystem/functions/is-readable.xml:1.2 Wed Apr 17 02:38:08 2002 +++ phpdoc/en/reference/filesystem/functions/is-readable.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.is-readable"> <refnamediv> @@ -20,17 +20,15 @@ id that the web server runs as (often 'nobody'). Safe mode limitations are not taken into account. </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </para> - <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> - <para> - See also <function>is_writable</function>. + See also <function>is_writable</function>, + <function>fil_exists</function>, and + <function>fgets</function>. </para> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/filegroup.xml diff -u phpdoc/en/reference/filesystem/functions/filegroup.xml:1.4 phpdoc/en/reference/filesystem/functions/filegroup.xml:1.5 --- phpdoc/en/reference/filesystem/functions/filegroup.xml:1.4 Sat Sep 28 14:25:23 2002 +++ phpdoc/en/reference/filesystem/functions/filegroup.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?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.filegroup"> <refnamediv> @@ -16,18 +16,18 @@ Returns the group ID of the file, or &false; in case of an error. The group ID is returned in numerical format, use <function>posix_getgrgid</function> to resolve it to a group name. + Upon failure, &false; is returned along with an error of level + <constant>E_WARNING</constant>. </para> - <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </para> - <note> - <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> - </note> + + ¬e.clearstatcache; + + ¬e.no-remote; + + <simpara> + See also <function>fileowner</function>, and + <link linkend="ini.safe-mode-gid">safe_mode_gid</link>. + </simpara> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/filectime.xml diff -u phpdoc/en/reference/filesystem/functions/filectime.xml:1.2 phpdoc/en/reference/filesystem/functions/filectime.xml:1.3 --- phpdoc/en/reference/filesystem/functions/filectime.xml:1.2 Wed Apr 17 02:38:07 2002 +++ phpdoc/en/reference/filesystem/functions/filectime.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filectime"> <refnamediv> @@ -17,10 +17,6 @@ an error. The time is returned as a Unix timestamp. </para> <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </para> - <para> Note: In most Unix filesystems, a file is considered changed when its inode data is changed; that is, when the permissions, owner, group, or other metadata @@ -33,10 +29,13 @@ referred to as being the creation time of the file. This is wrong. There is no creation time for Unix files in most Unix filesystems. </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + <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. + See also <function>filemtime</function> </simpara> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/fileperms.xml diff -u phpdoc/en/reference/filesystem/functions/fileperms.xml:1.2 phpdoc/en/reference/filesystem/functions/fileperms.xml:1.3 --- phpdoc/en/reference/filesystem/functions/fileperms.xml:1.2 Wed Apr 17 02:38:07 2002 +++ phpdoc/en/reference/filesystem/functions/fileperms.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fileperms"> <refnamediv> @@ -15,15 +15,15 @@ <para> Returns the permissions on the file, or &false; in case of an error. </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + <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. + See also <function>is_readable</function>, + and <function>stat</function> </simpara> - <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </para> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/fileowner.xml diff -u phpdoc/en/reference/filesystem/functions/fileowner.xml:1.3 phpdoc/en/reference/filesystem/functions/fileowner.xml:1.4 --- phpdoc/en/reference/filesystem/functions/fileowner.xml:1.3 Tue Aug 13 23:28:02 2002 +++ phpdoc/en/reference/filesystem/functions/fileowner.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fileowner"> <refnamediv> @@ -17,15 +17,15 @@ an error. The user ID is returned in numerical format, use <function>posix_getpwuid</function> to resolve it to a username. </para> - <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + <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. + See also <function>stat</function> </simpara> + </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/fileinode.xml diff -u phpdoc/en/reference/filesystem/functions/fileinode.xml:1.3 phpdoc/en/reference/filesystem/functions/fileinode.xml:1.4 --- phpdoc/en/reference/filesystem/functions/fileinode.xml:1.3 Tue Aug 13 23:28:02 2002 +++ phpdoc/en/reference/filesystem/functions/fileinode.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fileinode"> <refnamediv> @@ -14,15 +14,15 @@ </methodsynopsis> <para> Returns the inode number of the file, or &false; in case of an - error.</para> - <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. + error. </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + <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. + See also <function>stat</function> </simpara> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/chown.xml diff -u phpdoc/en/reference/filesystem/functions/chown.xml:1.4 phpdoc/en/reference/filesystem/functions/chown.xml:1.5 --- phpdoc/en/reference/filesystem/functions/chown.xml:1.4 Tue Aug 13 23:28:02 2002 +++ phpdoc/en/reference/filesystem/functions/chown.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?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.chown"> <refnamediv> @@ -21,6 +21,9 @@ <para> &return.success; </para> + + ¬e.no-remote; + <para> See also <function>chmod</function>. </para> Index: phpdoc/en/reference/filesystem/functions/fstat.xml diff -u phpdoc/en/reference/filesystem/functions/fstat.xml:1.5 phpdoc/en/reference/filesystem/functions/fstat.xml:1.6 --- phpdoc/en/reference/filesystem/functions/fstat.xml:1.5 Wed Jan 15 15:22:11 2003 +++ phpdoc/en/reference/filesystem/functions/fstat.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.24 --> <refentry id="function.fstat"> <refnamediv> @@ -38,10 +38,11 @@ * - only valid on systems supporting the st_blksize type--other systems (i.e. Windows) return -1 </para> - <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/is-executable.xml diff -u phpdoc/en/reference/filesystem/functions/is-executable.xml:1.5 phpdoc/en/reference/filesystem/functions/is-executable.xml:1.6 --- phpdoc/en/reference/filesystem/functions/is-executable.xml:1.5 Thu Feb 20 17:45:14 2003 +++ phpdoc/en/reference/filesystem/functions/is-executable.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.is-executable"> <refnamediv> @@ -15,17 +15,13 @@ <para> Returns &true; if the filename exists and is executable. </para> - + + ¬e.no-windows; + ¬e.clearstatcache; ¬e.no-remote; - <note> - <simpara> - This function is <emphasis role="strong">not</emphasis> available on - Win32. - </simpara> - </note> <para> See also <function>is_file</function> and <function>is_link</function>. Index: phpdoc/en/reference/filesystem/functions/filesize.xml diff -u phpdoc/en/reference/filesystem/functions/filesize.xml:1.2 phpdoc/en/reference/filesystem/functions/filesize.xml:1.3 --- phpdoc/en/reference/filesystem/functions/filesize.xml:1.2 Wed Apr 17 02:38:07 2002 +++ phpdoc/en/reference/filesystem/functions/filesize.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.filesize"> <refnamediv> @@ -15,14 +15,13 @@ <para> Returns the size of the file in bytes, or &false; in case of an error. </para> - <para> - The results of this function are cached. See - <function>clearstatcache</function> for more details. - </para> + + ¬e.clearstatcache; + + ¬e.no-remote; + <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. + See also <function>file_exists</function> </simpara> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/disk-total-space.xml diff -u phpdoc/en/reference/filesystem/functions/disk-total-space.xml:1.2 phpdoc/en/reference/filesystem/functions/disk-total-space.xml:1.3 --- phpdoc/en/reference/filesystem/functions/disk-total-space.xml:1.2 Wed Apr 17 02:38:06 2002 +++ phpdoc/en/reference/filesystem/functions/disk-total-space.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.64 --> <refentry id="function.disk-total-space"> <refnamediv> @@ -22,12 +22,20 @@ <title><function>disk_total_space</function> example</title> <programlisting role="php"> <![CDATA[ -$df = disk_total_space("/"); // $df contains the total number of - // bytes available on "/" +<?php +// $df contains the total number of bytes available on "/" +$df = disk_total_space("/"); +?> ]]> </programlisting> </example> </para> + + ¬e.no-remote; + + <simpara> + See also <function>disk_free_space</function> + </simpara> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/disk-free-space.xml diff -u phpdoc/en/reference/filesystem/functions/disk-free-space.xml:1.2 phpdoc/en/reference/filesystem/functions/disk-free-space.xml:1.3 --- phpdoc/en/reference/filesystem/functions/disk-free-space.xml:1.2 Wed Apr 17 02:38:05 2002 +++ phpdoc/en/reference/filesystem/functions/disk-free-space.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.86 --> <refentry id="function.disk-free-space"> <refnamediv> @@ -22,12 +22,20 @@ <title><function>disk_free_space</function> example</title> <programlisting role="php"> <![CDATA[ -$df = disk_free_space("/"); // $df contains the number of bytes - // available on "/" +<?php +// $df contains the number of bytes available on "/" +$df = disk_free_space("/"); +?> ]]> </programlisting> </example> </para> + + ¬e.no-remote; + + <simpara> + See also <function>disk_total_space</function> + </simpara> </refsect1> </refentry> Index: phpdoc/en/reference/filesystem/functions/link.xml diff -u phpdoc/en/reference/filesystem/functions/link.xml:1.3 phpdoc/en/reference/filesystem/functions/link.xml:1.4 --- phpdoc/en/reference/filesystem/functions/link.xml:1.3 Tue Aug 13 23:28:02 2002 +++ phpdoc/en/reference/filesystem/functions/link.xml Sat Feb 22 13:55:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.link"> <refnamediv> @@ -14,7 +14,11 @@ <methodparam><type>string</type><parameter>link</parameter></methodparam> </methodsynopsis> <para> - <function>link</function> creates a hard link.</para> + <function>link</function> creates a hard link. + </para> + + ¬e.no-remote; + <para> See also the <function>symlink</function> to create soft links, and <function>readlink</function> along with
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php