cvs: phpdoc-zh /reference/filesystem/functions chown.xml delete.xml disk-free-space.xml disk-total-space.xml diskfreespace.xml fflush.xml fgetc.xml
fgetss.xml filegroup.xml fileinode.xml filemtime.xml fileowner.xml filetype.xml fputs.xml is-link.xml lstat.xml readfile.xml rewind.xml
set-file-buffer.xml symlink.xml tmpfile.xml

From: Date: Fri, 15 Jul 2005 17:17:27 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions chown.xml delete.xml disk-free-space.xml disk-total-space.xml diskfreespace.xml fflush.xml fgetc.xml
fgetss.xml filegroup.xml fileinode.xml filemtime.xml fileowner.xml filetype.xml fputs.xml is-link.xml lstat.xml readfile.xml rewind.xml
set-file-buffer.xml symlink.xml tmpfile.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2057@lists.php.net to get a copy of this message
yincheng Fri Jul 15 13:17:27 2005 EDT Modified files: /phpdoc-zh/reference/filesystem/functions chown.xml delete.xml disk-free-space.xml disk-total-space.xml diskfreespace.xml fflush.xml fgetc.xml fgetss.xml filegroup.xml fileinode.xml filemtime.xml fileowner.xml filetype.xml fputs.xml is-link.xml lstat.xml readfile.xml rewind.xml set-file-buffer.xml symlink.xml tmpfile.xml Log: up to en

http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/chown.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/chown.xml diff -u phpdoc-zh/reference/filesystem/functions/chown.xml:1.4 phpdoc-zh/reference/filesystem/functions/chown.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/chown.xml:1.4 Mon Aug 18 16:51:02 2003 +++ phpdoc-zh/reference/filesystem/functions/chown.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> <refentry id="function.chown"> <refnamediv> <refname>chown</refname> @@ -22,6 +22,7 @@ &return.success; </para> &note.no-remote; + &note.sm.uidcheck; <para> ²Î¼û <function>chmod</function>¡£ </para> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/delete.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/delete.xml diff -u phpdoc-zh/reference/filesystem/functions/delete.xml:1.5 phpdoc-zh/reference/filesystem/functions/delete.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/delete.xml:1.5 Mon Feb 24 04:58:36 2003 +++ phpdoc-zh/reference/filesystem/functions/delete.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> <refentry id="function.delete"> <refnamediv> <refname>delete</refname> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/disk-free-space.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/disk-free-space.xml diff -u phpdoc-zh/reference/filesystem/functions/disk-free-space.xml:1.3 phpdoc-zh/reference/filesystem/functions/disk-free-space.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/disk-free-space.xml:1.3 Mon Feb 24 04:12:20 2003 +++ phpdoc-zh/reference/filesystem/functions/disk-free-space.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> <refentry id="function.disk-free-space"> <refnamediv> <refname>disk_free_space</refname> @@ -24,6 +24,9 @@ <?php // $df °üº¬¸ùĿ¼Ï¿ÉÓõÄ×Ö½ÚÊý $df = disk_free_space("/"); +//ÔÚ Windows ÏÂ: +disk_free_space("C:"); +disk_free_space("D:"); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/disk-total-space.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/disk-total-space.xml diff -u phpdoc-zh/reference/filesystem/functions/disk-total-space.xml:1.3 phpdoc-zh/reference/filesystem/functions/disk-total-space.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/disk-total-space.xml:1.3 Mon Feb 24 04:12:20 2003 +++ phpdoc-zh/reference/filesystem/functions/disk-total-space.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> <refentry id="function.disk-total-space"> <refnamediv> <refname>disk_total_space</refname> @@ -24,6 +24,10 @@ <?php // $df °üº¬ "/" Ŀ¼µÄ´ÅÅÌ´óС $df = disk_total_space("/"); + +//ÔÚ Windows ÏÂ: +disk_total_space("C:"); +disk_total_space("D:"); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/diskfreespace.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/diskfreespace.xml diff -u phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.3 phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.3 Tue Mar 4 04:34:41 2003 +++ phpdoc-zh/reference/filesystem/functions/diskfreespace.xml Fri Jul 15 13:17:27 2005 @@ -1,19 +1,21 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> - <refentry id="function.diskfreespace"> +<!-- $Revision: 1.4 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> +<refentry id="function.diskfreespace"> <refnamediv> <refname>diskfreespace</refname> - <refpurpose><function>disk_free_space</function> º¯ÊýµÄ±ðÃû</refpurpose> + <refpurpose>&Alias; <function>disk_free_space</function></refpurpose> </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <para> - ±¾º¯ÊýÊÇ <function>disk_free_space</function> µÄ±ðÃû¡£ - </para> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias; + <function>disk_free_space</function>. + </simpara> </refsect1> - </refentry> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fflush.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/fflush.xml diff -u phpdoc-zh/reference/filesystem/functions/fflush.xml:1.4 phpdoc-zh/reference/filesystem/functions/fflush.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/fflush.xml:1.4 Mon Feb 24 04:12:22 2003 +++ phpdoc-zh/reference/filesystem/functions/fflush.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> <refentry id="function.fflush"> <refnamediv> <refname>fflush</refname> @@ -15,13 +15,10 @@ </methodsynopsis> <para> ±¾º¯ÊýÇ¿ÖÆ½«ËùÓлº³åµÄÊä³öдÈë - <parameter>handle</parameter> Îļþ¾ä±úËùÖ¸ÏòµÄ×ÊÔ´¡£³É¹¦·µ»Ø &true;£¬·ñÔò·µ»Ø &false;¡£ - </para> - <para> - ÎļþÖ¸Õë±ØÐëÓÐЧ£¬²¢ÇÒÊÇͨ¹ý - <function>fopen</function>£¬<function>popen</function> »ò - <function>fsockopen</function> ³É¹¦´ò¿ªµÄ¡£ + <parameter>handle</parameter> Îļþ¾ä±úËùÖ¸ÏòµÄ×ÊÔ´¡£ + &return.success; </para> + &fs.validfp.all; </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fgetc.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/fgetc.xml diff -u phpdoc-zh/reference/filesystem/functions/fgetc.xml:1.5 phpdoc-zh/reference/filesystem/functions/fgetc.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/fgetc.xml:1.5 Mon Aug 18 16:51:02 2003 +++ phpdoc-zh/reference/filesystem/functions/fgetc.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.10 Maintainer: dallas Status: ready --> <refentry id="function.fgetc"> <refnamediv> <refname>fgetc</refname> @@ -17,11 +17,8 @@ ·µ»ØÒ»¸ö°üº¬ÓÐÒ»¸ö×Ö·ûµÄ×Ö·û´®£¬¸Ã×Ö·û´Ó <parameter>handle</parameter> Ö¸ÏòµÄÎļþÖеõ½¡£Åöµ½ EOF Ôò·µ»Ø &false;¡£ </para> - <para> - ÎļþÖ¸Õë±ØÐëÓÐЧ£¬²¢ÇÒÊÇͨ¹ý - <function>fopen</function>£¬<function>popen</function> »ò - <function>fsockopen</function> ³É¹¦´ò¿ªµÄ¡£ - </para> + + &fs.validfp.all; &return.falseproblem; <para> <example> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fgetss.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/fgetss.xml diff -u phpdoc-zh/reference/filesystem/functions/fgetss.xml:1.5 phpdoc-zh/reference/filesystem/functions/fgetss.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/fgetss.xml:1.5 Mon Feb 24 04:12:26 2003 +++ phpdoc-zh/reference/filesystem/functions/fgetss.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> <refentry id="function.fgetss"> <refnamediv> <refname>fgetss</refname> @@ -12,7 +12,7 @@ <methodsynopsis> <type>string</type><methodname>fgetss</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - <methodparam><type>int</type><parameter>length</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>allowable_tags</parameter></methodparam> </methodsynopsis> <para> @@ -27,6 +27,9 @@ </para> </note> </para> + <para> +²ÎÊý <parameter>length</parameter> ´Ó PHP 5 Æð¿ªÊ¼¿ÉÑ¡¡£ + </para> &note.line-endings; <para> ²Î¼û <function>fgets</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/filegroup.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/filegroup.xml diff -u phpdoc-zh/reference/filesystem/functions/filegroup.xml:1.3 phpdoc-zh/reference/filesystem/functions/filegroup.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/filegroup.xml:1.3 Mon Feb 24 04:12:28 2003 +++ phpdoc-zh/reference/filesystem/functions/filegroup.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> <refentry id="function.filegroup"> <refnamediv> <refname>filegroup</refname> @@ -23,7 +23,9 @@ ±¾º¯ÊýµÄ½á¹û»á±»»º´æ¡£ÏêϸÐÅÏ¢¼û <function>clearstatcache</function>¡£ </para> &note.clearstatcache; - &note.no-remote; + + &tip.fopen-wrapper.stat; + <simpara> ²Î¼û <function>fileowner</function> ºÍ <link linkend="ini.safe-mode-gid">safe_mode_gid</link>¡£ </simpara> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fileinode.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/fileinode.xml diff -u phpdoc-zh/reference/filesystem/functions/fileinode.xml:1.3 phpdoc-zh/reference/filesystem/functions/fileinode.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/fileinode.xml:1.3 Mon Feb 24 04:12:28 2003 +++ phpdoc-zh/reference/filesystem/functions/fileinode.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> <refentry id="function.fileinode"> <refnamediv> <refname>fileinode</refname> @@ -17,7 +17,7 @@ ·µ»ØÎļþµÄ inode ½ÚµãºÅ£¬³ö´íʱ·µ»Ø &false;¡£ </para> &note.clearstatcache; - &note.no-remote; + &tip.fopen-wrapper.stat; <simpara> ²Î¼û <function>stat</function>¡£ </simpara> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/filemtime.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/filemtime.xml diff -u phpdoc-zh/reference/filesystem/functions/filemtime.xml:1.3 phpdoc-zh/reference/filesystem/functions/filemtime.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/filemtime.xml:1.3 Mon Feb 24 04:12:29 2003 +++ phpdoc-zh/reference/filesystem/functions/filemtime.xml Fri Jul 15 13:17:27 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: dallas $ --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: yincheng $ --> <!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> <refentry id="function.filemtime"> <refnamediv> @@ -18,7 +18,7 @@ <function>date</function>¡£ </para> &note.clearstatcache; - &note.no-remote; + &tip.fopen-wrapper.stat; <para> ±¾º¯Êý·µ»ØÎļþÖеÄÊý¾Ý¿éÉϴα»Ð´ÈëµÄʱ¼ä£¬Ò²¾ÍÊÇ˵£¬ÎļþµÄÄÚÈÝÉϴα»Ð޸ĵÄʱ¼ä¡£ </para> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fileowner.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/fileowner.xml diff -u phpdoc-zh/reference/filesystem/functions/fileowner.xml:1.3 phpdoc-zh/reference/filesystem/functions/fileowner.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/fileowner.xml:1.3 Mon Feb 24 04:12:29 2003 +++ phpdoc-zh/reference/filesystem/functions/fileowner.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> <refentry id="function.fileowner"> <refnamediv> <refname>fileowner</refname> @@ -19,7 +19,7 @@ <function>posix_getpwuid</function> À´½«Æä½âÎöΪÓû§Ãû¡£ </para> &note.clearstatcache; - &note.no-remote; + &tip.fopen-wrapper.stat; <simpara> ²Î¼û <function>stat</function>¡£ </simpara> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/filetype.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/filetype.xml diff -u phpdoc-zh/reference/filesystem/functions/filetype.xml:1.5 phpdoc-zh/reference/filesystem/functions/filetype.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/filetype.xml:1.5 Mon Aug 18 16:51:02 2003 +++ phpdoc-zh/reference/filesystem/functions/filetype.xml Fri Jul 15 13:17:27 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: dallas $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: yincheng $ --> <!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> <refentry id="function.filetype"> <refnamediv> @@ -22,7 +22,8 @@ <function>filetype</function> »¹»á²úÉúÒ»¸ö <constant>E_NOTICE</constant> ÏûÏ¢¡£ </para> &note.clearstatcache; - &note.no-remote; + &tip.fopen-wrapper.stat; + <para> <example> <title><function>filetype</function> Àý×Ó</title> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fputs.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/fputs.xml diff -u phpdoc-zh/reference/filesystem/functions/fputs.xml:1.4 phpdoc-zh/reference/filesystem/functions/fputs.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/fputs.xml:1.4 Tue Mar 4 04:34:41 2003 +++ phpdoc-zh/reference/filesystem/functions/fputs.xml Fri Jul 15 13:17:27 2005 @@ -1,19 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.5 Maintainer: lm92 Status: ready --> - <refentry id="function.fputs"> +<!-- $Revision: 1.5 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.6 Maintainer: lm92 Status: ready --> +<refentry id="function.fputs"> <refnamediv> <refname>fputs</refname> - <refpurpose><function>fwrite</function> µÄ±ðÃû</refpurpose> + <refpurpose>&Alias; <function>fwrite</function></refpurpose> </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <para> - ±¾º¯ÊýÊÇ <function>fwrite</function> µÄ±ðÃû¡£ - </para> + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias; + <function>fwrite</function>. + </simpara> </refsect1> - </refentry> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/is-link.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-link.xml diff -u phpdoc-zh/reference/filesystem/functions/is-link.xml:1.3 phpdoc-zh/reference/filesystem/functions/is-link.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/is-link.xml:1.3 Wed Apr 23 19:58:53 2003 +++ phpdoc-zh/reference/filesystem/functions/is-link.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> <refentry id="function.is-link"> <refnamediv> <refname>is_link</refname> @@ -19,7 +19,7 @@ &note.clearstatcache; - &note.no-remote; + &tip.fopen-wrapper.stat; <para> ²Î¼û <function>is_dir</function>£¬<function>is_file</function> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/lstat.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/lstat.xml diff -u phpdoc-zh/reference/filesystem/functions/lstat.xml:1.4 phpdoc-zh/reference/filesystem/functions/lstat.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/lstat.xml:1.4 Mon May 12 01:23:49 2003 +++ phpdoc-zh/reference/filesystem/functions/lstat.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> <refentry id="function.lstat"> <refnamediv> <refname>lstat</refname> @@ -25,7 +25,7 @@ &note.clearstatcache; - &note.no-remote; + &tip.fopen-wrapper.stat; <simpara> ²Î¼û <function>stat</function>¡£ http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/readfile.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/readfile.xml diff -u phpdoc-zh/reference/filesystem/functions/readfile.xml:1.4 phpdoc-zh/reference/filesystem/functions/readfile.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/readfile.xml:1.4 Tue Sep 9 20:26:24 2003 +++ phpdoc-zh/reference/filesystem/functions/readfile.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> <refentry id="function.readfile"> <refnamediv> <refname>readfile</refname> @@ -29,6 +29,7 @@ <link linkend="ini.include-path">include_path</link> ÖÐËÑË÷Îļþ£¬¿ÉÒÔʹÓÿÉÑ¡µÄµÚ¶þ¸ö²ÎÊý²¢½«ÆäÉèΪ &true;¡£ </para> + &note.context-support; <para> ²Î¼û <function>fpassthru</function>£¬<function>file</function>£¬<function>fopen</function>£¬<function>include</function>£¬<function>require</function>£¬<function>virtual</function>£¬<function>file_get_contents</function> ºÍ<xref linkend="wrappers"/>¡£ http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/rewind.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/rewind.xml diff -u phpdoc-zh/reference/filesystem/functions/rewind.xml:1.4 phpdoc-zh/reference/filesystem/functions/rewind.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/rewind.xml:1.4 Mon Aug 18 19:23:46 2003 +++ phpdoc-zh/reference/filesystem/functions/rewind.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> <refentry id="function.rewind"> <refnamediv> <refname>rewind</refname> @@ -25,7 +25,7 @@ </para> <note> <para> - Èç¹û½«ÎļþÒÔ¸½¼Ó£¨"a"£©Ä£Ê½´ò¿ª£¬Ð´ÈëÎļþµÄÈκÎÊý¾Ý×ÜÊǻᱻ¸½¼ÓÔÚºóÃæ£¬²»¹ÜÎļþÖ¸ÕëµÄλÖᣠ+ Èç¹û½«ÎļþÒÔ¸½¼Ó£¨"a" »òÕß "a+"£©Ä£Ê½´ò¿ª£¬Ð´ÈëÎļþµÄÈκÎÊý¾Ý×ÜÊǻᱻ¸½¼ÓÔÚºóÃæ£¬²»¹ÜÎļþÖ¸ÕëµÄλÖᣠ</para> </note> <para> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml diff -u phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml:1.4 phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml:1.4 Mon Apr 28 02:37:34 2003 +++ phpdoc-zh/reference/filesystem/functions/set-file-buffer.xml Fri Jul 15 13:17:27 2005 @@ -1,20 +1,20 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> - <refentry id="function.set-file-buffer"> +<!-- $Revision: 1.5 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> +<refentry id="function.set-file-buffer"> <refnamediv> <refname>set_file_buffer</refname> - <refpurpose><function>stream_set_write_buffer</function> µÄ±ðÃû</refpurpose> + <refpurpose>&Alias; <function>stream_set_write_buffer</function></refpurpose> </refnamediv> - <refsect1> - <title>˵Ã÷</title> + <refsect1 role="description"> + &reftitle.description; <simpara> - ±¾º¯ÊýÊÇ - <function>stream_set_write_buffer</function> µÄ±ðÃû¡£ + &info.function.alias; + <function>stream_set_write_buffer</function>¡£ </simpara> </refsect1> - </refentry> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/symlink.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/symlink.xml diff -u phpdoc-zh/reference/filesystem/functions/symlink.xml:1.4 phpdoc-zh/reference/filesystem/functions/symlink.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/symlink.xml:1.4 Mon Aug 18 19:23:46 2003 +++ phpdoc-zh/reference/filesystem/functions/symlink.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> <refentry id="function.symlink"> <refnamediv> <refname>symlink</refname> @@ -22,6 +22,7 @@ <para> &return.success; </para> + &note.no-windows; <para> ²Î¼û <function>link</function> À´½¨Á¢Ó²Á¬½Ó£¬ÒÔ¼° <function>readlink</function> ºÍ http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/tmpfile.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/tmpfile.xml diff -u phpdoc-zh/reference/filesystem/functions/tmpfile.xml:1.4 phpdoc-zh/reference/filesystem/functions/tmpfile.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/tmpfile.xml:1.4 Mon Aug 18 19:23:46 2003 +++ phpdoc-zh/reference/filesystem/functions/tmpfile.xml Fri Jul 15 13:17:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> <refentry id="function.tmpfile"> <refnamediv> <refname>tmpfile</refname> @@ -14,7 +14,7 @@ <void/> </methodsynopsis> <para> - ÒÔдģʽ½¨Á¢Ò»¸ö¾ßÓÐΨһÎļþÃûµÄÁÙʱÎļþ£¬·µ»ØÒ»¸öÓë + ÒÔ¶Áд (w+) ģʽ½¨Á¢Ò»¸ö¾ßÓÐΨһÎļþÃûµÄÁÙʱÎļþ£¬·µ»ØÒ»¸öÓë <function>fopen</function> Ëù·µ»ØÏàËÆµÄÎļþ¾ä±ú¡£Îļþ»áÔڹرպó£¨Óà <function>fclose</function>£©×Ô¶¯±»É¾³ý£¬»òµ±½Å±¾½áÊøºó¡£ </para> @@ -31,10 +31,18 @@ <?php $temp = tmpfile(); fwrite($temp, "writing to tempfile"); +fseek($temp, 0); +echo fread($temp, 1024); fclose($temp); // this removes the file ?> ]]> </programlisting> + &example.outputs; + <screen> +<![CDATA[ +writing to tempfile +]]> + </screen> </example> </para> <para>
« previous php.doc.zh (#2057) next »