cvs: phpdoc-zh /reference/filesystem/functions fputs.xml fread.xml fwrite.xml rmdir.xml
| From: | Dallas Thunder | Date: | Fri, 28 Feb 2003 08:22:08 +0000 |
| Subject: | cvs: phpdoc-zh /reference/filesystem/functions fputs.xml fread.xml fwrite.xml rmdir.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-1149@lists.php.net to get a copy of this message | ||
dallas Fri Feb 28 03:22:08 2003 EDT
Modified files:
/phpdoc-zh/reference/filesystem/functions fputs.xml fread.xml
fwrite.xml rmdir.xml
Log:
Updated some files.
Index: phpdoc-zh/reference/filesystem/functions/fputs.xml diff -u phpdoc-zh/reference/filesystem/functions/fputs.xml:1.2 phpdoc-zh/reference/filesystem/functions/fputs.xml:1.3 --- phpdoc-zh/reference/filesystem/functions/fputs.xml:1.2 Fri Feb 7 21:50:24 2003 +++ phpdoc-zh/reference/filesystem/functions/fputs.xml Fri Feb 28 03:22:08 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.4 Maintainer: Liuming Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.4 Maintainer: lm92 Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fputs"> <refnamediv> @@ -9,7 +9,7 @@ <refpurpose>дµ½ÎļþÖ¸Õë</refpurpose> </refnamediv> <refsect1> - <title>ÃèÊö</title> + <title>˵Ã÷</title> <methodsynopsis> <type>int</type><methodname>fputs</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> @@ -20,7 +20,7 @@ <function>fputs</function> Ö»ÊÇ <function>fwrite</function> µÄ±ðÃû£¬ÆäËü·½Ãæ¶¼Ïàͬ¡£ ×¢Ò⣬²ÎÊý <parameter>length</parameter> ÊÇ¿ÉÑ¡Ï - Èç¹û²»Ö¸¶¨Ôò½«Õû¸ö×Ö´®Ð´Èë + Èç¹û²»Ö¸¶¨Ôò½«Õû¸ö×Ö´®Ð´Èë¡£ </para> </refsect1> </refentry> Index: phpdoc-zh/reference/filesystem/functions/fread.xml diff -u phpdoc-zh/reference/filesystem/functions/fread.xml:1.3 phpdoc-zh/reference/filesystem/functions/fread.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/fread.xml:1.3 Sun Jan 12 07:45:18 2003 +++ phpdoc-zh/reference/filesystem/functions/fread.xml Fri Feb 28 03:22:08 2003 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.5 Maintainer: lm92 Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: lm92 Status: ready --> <refentry id="function.fread"> <refnamediv> <refname>fread</refname> - <refpurpose>ÒÔ¶þ½øÖÆ·½Ê½¶ÁÈ¡Îļþ</refpurpose> + <refpurpose>¶ÁÈ¡Îļþ£¨¿É°²È«ÓÃÓÚ¶þ½øÖÆÎļþ£©</refpurpose> </refnamediv> <refsect1> - <title>ÃèÊö</title> + <title>˵Ã÷</title> <methodsynopsis> <type>string</type><methodname>fread</methodname> - <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>handle</parameter></methodparam> <methodparam><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <simpara> - <function>fread</function> »á°´ - <parameter>fp</parameter> Ö¸¶¨Îļþ¿ªÊ¼¶ÁÈ¡ - <parameter>length</parameter> ¸ö×Ö½ÚÊýµÄÎļþ¡£ + <function>fread</function> ´ÓÎļþÖ¸Õë + <parameter>handle</parameter> ¶ÁÈ¡×î¶à + <parameter>length</parameter> ¸ö×Ö½Ú¡£ ¸Ãº¯ÊýÔÚ¶ÁÈ¡Íê - <parameter>length</parameter> ¸ö×Ö½ÚÊý»òµ½´ïEOFµÄʱºò¾Í»áÍ£Ö¹¶ÁÈ¡Îļþ£¬ÒÔÉÏÁ½¸öÌõ¼þ²»·ÖÏÈºó¡£ + <parameter>length</parameter> ¸ö×Ö½ÚÊý»òµ½´ï + EOF µÄʱºò¾Í»áÍ£Ö¹¶ÁÈ¡Îļþ£¬ÊÓºõÏÈÅöµ½ÄÄÖÖÇé¿ö¡£ </simpara> <para> <informalexample> @@ -27,17 +28,17 @@ <![CDATA[ // get contents of a file into a string $filename = "/usr/local/something.txt"; -$fd = fopen ($filename, "r"); -$contents = fread ($fd, filesize ($filename)); -fclose ($fd); +$handle = fopen ($filename, "r"); +$contents = fread ($handle, filesize ($filename)); +fclose ($handle); ]]> </programlisting> </informalexample> </para> <note> <para> - ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨ÈçWindows£© - ´ò¿ªÎļþʱ£¬ <function>fopen</function> º¯ÊýÒª¼ÓÉÏ 'b' Õâ¸ö²ÎÊý + ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨Èç Windows£© + ´ò¿ªÎļþʱ£¬<function>fopen</function> º¯ÊýµÄ mode ²ÎÊýÒª¼ÓÉÏ 'b'¡£ </para> </note> <para> @@ -45,19 +46,17 @@ <programlisting role="php"> <![CDATA[ $filename = "c:\\files\\somepic.gif"; -$fd = fopen ($filename, "rb"); -$contents = fread ($fd, filesize ($filename)); -fclose ($fd); +$handle = fopen ($filename, "rb"); +$contents = fread ($handle, filesize ($filename)); +fclose ($handle); ]]> </programlisting> </informalexample> </para> <simpara> - ²Î¼û <function>fwrite</function>, <function>fopen</function>, - <function>fsockopen</function>, <function>popen</function>, - <function>fgets</function>, <function>fgetss</function>, - <function>fscanf</function>, <function>file</function>, and - <function>fpassthru</function>. + ²Î¼û + <function>fwrite</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function>£¬<function>fgets</function>£¬<function>fgetss</function>£¬<function>fscanf</function>£¬<function>file</function> ºÍ + <function>fpassthru</function>¡£ </simpara> </refsect1> </refentry> Index: phpdoc-zh/reference/filesystem/functions/fwrite.xml diff -u phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.3 phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.3 Fri Feb 7 22:17:38 2003 +++ phpdoc-zh/reference/filesystem/functions/fwrite.xml Fri Feb 28 03:22:08 2003 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.7 Maintainer: Liuming Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.7 Maintainer: lm92 Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fwrite"> <refnamediv> <refname>fwrite</refname> - <refpurpose>ÒÔ¶þ½øÖÆ·½Ê½Ð´ÈëÎļþ</refpurpose> + <refpurpose>дÈëÎļþ£¨¿É°²È«ÓÃÓÚ¶þ½øÖÆÎļþ£©</refpurpose> </refnamediv> <refsect1> - <title>ÃèÊö</title> + <title>˵Ã÷</title> <methodsynopsis> <type>int</type><methodname>fwrite</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> @@ -18,29 +18,31 @@ </methodsynopsis> <simpara> <function>fwrite</function> °Ñ <parameter>string</parameter> µÄÄÚÈÝдÈë - ÎļþÖ¸Õë <parameter>handle</parameter> ´¦¡£ Èç¹ûÖ¸¶¨ÁË <parameter>length</parameter> £¬ - µ±Ð´ÈëÁË <parameter>length</parameter> ¸ö×Ö½Ú»òÕßдÍêÁË <parameter>string</parameter> - ÒÔºó£¬Ð´Èë¾Í»áÍ£Ö¹¡£ + ÎļþÖ¸Õë <parameter>handle</parameter> ´¦¡£ Èç¹ûÖ¸¶¨ÁË + <parameter>length</parameter>£¬µ±Ð´ÈëÁË + <parameter>length</parameter> ¸ö×Ö½Ú»òÕßдÍêÁË <parameter>string</parameter> + ÒÔºó£¬Ð´Èë¾Í»áÍ£Ö¹£¬ÊÓºõÏÈÅöµ½ÄÄÖÖÇé¿ö¡£ </simpara> <simpara> <function>fwrite</function> ·µ»ØÐ´ÈëµÄ×Ö·ûÊý£¬³öÏÖ´íÎóʱÔò·µ»Ø &false; ¡£ </simpara> <simpara> - Note that if the <parameter>length</parameter> argument is given, - then the <link + ×¢ÒâÈç¹û¸ø³öÁË + <parameter>length</parameter> + ²ÎÊý£¬Ôò <link linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link> - configuration option will be ignored and no slashes will be - stripped from <parameter>string</parameter>. + ÅäÖÃÑ¡Ï±»ºöÂÔ£¬¶ø + <parameter>string</parameter> ÖеÄбÏß½«²»»á±»³éÈ¥¡£ </simpara> <note> <para> - ÔÚÇø»á¶þ½øÖÆÎļþ»òÎı¾ÎļþµÄϵͳ£¨Èç Windows£©ÉÏ£¬ - ´ò¿ªÎļþʱ±ØÐëÔÚ <function>fopen</function> µÄ´ò¿ªÄ£Ê½ÉÏÌí¼Ó¡®b¡¯¡£ + ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨Èç Windows£© + ´ò¿ªÎļþʱ£¬<function>fopen</function> º¯ÊýµÄ mode ²ÎÊýÒª¼ÓÉÏ 'b'¡£ </para> </note> <para> <example> - <title>Ò»¸ö¼òµ¥µÄfwrite·¶Àý</title> + <title>Ò»¸ö¼òµ¥µÄ fwrite ·¶Àý</title> <programlisting role="php"> <![CDATA[ <?php @@ -77,9 +79,9 @@ </example> </para> <simpara> - ²Î¼û <function>fread</function>, <function>fopen</function>, - <function>fsockopen</function>, <function>popen</function>, and - <function>fputs</function>. + ²Î¼û + <function>fread</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function> ºÍ + <function>fputs</function>¡£ </simpara> </refsect1> </refentry> Index: phpdoc-zh/reference/filesystem/functions/rmdir.xml diff -u phpdoc-zh/reference/filesystem/functions/rmdir.xml:1.4 phpdoc-zh/reference/filesystem/functions/rmdir.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/rmdir.xml:1.4 Sun Jan 12 07:45:18 2003 +++ phpdoc-zh/reference/filesystem/functions/rmdir.xml Fri Feb 28 03:22:08 2003 @@ -1,25 +1,25 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.2 Maintainer: lm92 Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: lm92 Status: ready --> <refentry id="function.rmdir"> <refnamediv> <refname>rmdir</refname> <refpurpose>ɾ³ýĿ¼</refpurpose> </refnamediv> <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>rmdir</methodname> - <methodparam><type>string</type><parameter>dirname</parameter></methodparam> - </methodsynopsis> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>rmdir</methodname> + <methodparam><type>string</type><parameter>dirname</parameter></methodparam> + </methodsynopsis> <para> ³¢ÊÔɾ³ý <parameter>dirname</parameter> ËùÖ¸¶¨µÄĿ¼¡£ - ¸ÃĿ¼±ØÐëÊǿյ쬶øÇÒÒªÓÐÏàÓ¦µÄȨÏÞ + ¸ÃĿ¼±ØÐëÊǿյ쬶øÇÒÒªÓÐÏàÓ¦µÄȨÏÞ¡£ &return.success; </para> <para> - ²Î¼û <function>mkdir</function> ºÍ <function>unlink</function>. + ²Î¼û <function>mkdir</function> ºÍ <function>unlink</function>¡£ </para> </refsect1> </refentry>
Index: phpdoc-zh/reference/filesystem/functions/fputs.xml diff -u phpdoc-zh/reference/filesystem/functions/fputs.xml:1.2 phpdoc-zh/reference/filesystem/functions/fputs.xml:1.3 --- phpdoc-zh/reference/filesystem/functions/fputs.xml:1.2 Fri Feb 7 21:50:24 2003 +++ phpdoc-zh/reference/filesystem/functions/fputs.xml Fri Feb 28 03:22:08 2003 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.2 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.4 Maintainer: Liuming Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.4 Maintainer: lm92 Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fputs"> <refnamediv> @@ -9,7 +9,7 @@ <refpurpose>дµ½ÎļþÖ¸Õë</refpurpose> </refnamediv> <refsect1> - <title>ÃèÊö</title> + <title>˵Ã÷</title> <methodsynopsis> <type>int</type><methodname>fputs</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> @@ -20,7 +20,7 @@ <function>fputs</function> Ö»ÊÇ <function>fwrite</function> µÄ±ðÃû£¬ÆäËü·½Ãæ¶¼Ïàͬ¡£ ×¢Ò⣬²ÎÊý <parameter>length</parameter> ÊÇ¿ÉÑ¡Ï - Èç¹û²»Ö¸¶¨Ôò½«Õû¸ö×Ö´®Ð´Èë + Èç¹û²»Ö¸¶¨Ôò½«Õû¸ö×Ö´®Ð´Èë¡£ </para> </refsect1> </refentry> Index: phpdoc-zh/reference/filesystem/functions/fread.xml diff -u phpdoc-zh/reference/filesystem/functions/fread.xml:1.3 phpdoc-zh/reference/filesystem/functions/fread.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/fread.xml:1.3 Sun Jan 12 07:45:18 2003 +++ phpdoc-zh/reference/filesystem/functions/fread.xml Fri Feb 28 03:22:08 2003 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.5 Maintainer: lm92 Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: lm92 Status: ready --> <refentry id="function.fread"> <refnamediv> <refname>fread</refname> - <refpurpose>ÒÔ¶þ½øÖÆ·½Ê½¶ÁÈ¡Îļþ</refpurpose> + <refpurpose>¶ÁÈ¡Îļþ£¨¿É°²È«ÓÃÓÚ¶þ½øÖÆÎļþ£©</refpurpose> </refnamediv> <refsect1> - <title>ÃèÊö</title> + <title>˵Ã÷</title> <methodsynopsis> <type>string</type><methodname>fread</methodname> - <methodparam><type>int</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>handle</parameter></methodparam> <methodparam><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <simpara> - <function>fread</function> »á°´ - <parameter>fp</parameter> Ö¸¶¨Îļþ¿ªÊ¼¶ÁÈ¡ - <parameter>length</parameter> ¸ö×Ö½ÚÊýµÄÎļþ¡£ + <function>fread</function> ´ÓÎļþÖ¸Õë + <parameter>handle</parameter> ¶ÁÈ¡×î¶à + <parameter>length</parameter> ¸ö×Ö½Ú¡£ ¸Ãº¯ÊýÔÚ¶ÁÈ¡Íê - <parameter>length</parameter> ¸ö×Ö½ÚÊý»òµ½´ïEOFµÄʱºò¾Í»áÍ£Ö¹¶ÁÈ¡Îļþ£¬ÒÔÉÏÁ½¸öÌõ¼þ²»·ÖÏÈºó¡£ + <parameter>length</parameter> ¸ö×Ö½ÚÊý»òµ½´ï + EOF µÄʱºò¾Í»áÍ£Ö¹¶ÁÈ¡Îļþ£¬ÊÓºõÏÈÅöµ½ÄÄÖÖÇé¿ö¡£ </simpara> <para> <informalexample> @@ -27,17 +28,17 @@ <![CDATA[ // get contents of a file into a string $filename = "/usr/local/something.txt"; -$fd = fopen ($filename, "r"); -$contents = fread ($fd, filesize ($filename)); -fclose ($fd); +$handle = fopen ($filename, "r"); +$contents = fread ($handle, filesize ($filename)); +fclose ($handle); ]]> </programlisting> </informalexample> </para> <note> <para> - ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨ÈçWindows£© - ´ò¿ªÎļþʱ£¬ <function>fopen</function> º¯ÊýÒª¼ÓÉÏ 'b' Õâ¸ö²ÎÊý + ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨Èç Windows£© + ´ò¿ªÎļþʱ£¬<function>fopen</function> º¯ÊýµÄ mode ²ÎÊýÒª¼ÓÉÏ 'b'¡£ </para> </note> <para> @@ -45,19 +46,17 @@ <programlisting role="php"> <![CDATA[ $filename = "c:\\files\\somepic.gif"; -$fd = fopen ($filename, "rb"); -$contents = fread ($fd, filesize ($filename)); -fclose ($fd); +$handle = fopen ($filename, "rb"); +$contents = fread ($handle, filesize ($filename)); +fclose ($handle); ]]> </programlisting> </informalexample> </para> <simpara> - ²Î¼û <function>fwrite</function>, <function>fopen</function>, - <function>fsockopen</function>, <function>popen</function>, - <function>fgets</function>, <function>fgetss</function>, - <function>fscanf</function>, <function>file</function>, and - <function>fpassthru</function>. + ²Î¼û + <function>fwrite</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function>£¬<function>fgets</function>£¬<function>fgetss</function>£¬<function>fscanf</function>£¬<function>file</function> ºÍ + <function>fpassthru</function>¡£ </simpara> </refsect1> </refentry> Index: phpdoc-zh/reference/filesystem/functions/fwrite.xml diff -u phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.3 phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.3 Fri Feb 7 22:17:38 2003 +++ phpdoc-zh/reference/filesystem/functions/fwrite.xml Fri Feb 28 03:22:08 2003 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: lm92 $ --> -<!-- EN-Revision: 1.7 Maintainer: Liuming Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: dallas $ --> +<!-- EN-Revision: 1.7 Maintainer: lm92 Status: ready --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.fwrite"> <refnamediv> <refname>fwrite</refname> - <refpurpose>ÒÔ¶þ½øÖÆ·½Ê½Ð´ÈëÎļþ</refpurpose> + <refpurpose>дÈëÎļþ£¨¿É°²È«ÓÃÓÚ¶þ½øÖÆÎļþ£©</refpurpose> </refnamediv> <refsect1> - <title>ÃèÊö</title> + <title>˵Ã÷</title> <methodsynopsis> <type>int</type><methodname>fwrite</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> @@ -18,29 +18,31 @@ </methodsynopsis> <simpara> <function>fwrite</function> °Ñ <parameter>string</parameter> µÄÄÚÈÝдÈë - ÎļþÖ¸Õë <parameter>handle</parameter> ´¦¡£ Èç¹ûÖ¸¶¨ÁË <parameter>length</parameter> £¬ - µ±Ð´ÈëÁË <parameter>length</parameter> ¸ö×Ö½Ú»òÕßдÍêÁË <parameter>string</parameter> - ÒÔºó£¬Ð´Èë¾Í»áÍ£Ö¹¡£ + ÎļþÖ¸Õë <parameter>handle</parameter> ´¦¡£ Èç¹ûÖ¸¶¨ÁË + <parameter>length</parameter>£¬µ±Ð´ÈëÁË + <parameter>length</parameter> ¸ö×Ö½Ú»òÕßдÍêÁË <parameter>string</parameter> + ÒÔºó£¬Ð´Èë¾Í»áÍ£Ö¹£¬ÊÓºõÏÈÅöµ½ÄÄÖÖÇé¿ö¡£ </simpara> <simpara> <function>fwrite</function> ·µ»ØÐ´ÈëµÄ×Ö·ûÊý£¬³öÏÖ´íÎóʱÔò·µ»Ø &false; ¡£ </simpara> <simpara> - Note that if the <parameter>length</parameter> argument is given, - then the <link + ×¢ÒâÈç¹û¸ø³öÁË + <parameter>length</parameter> + ²ÎÊý£¬Ôò <link linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link> - configuration option will be ignored and no slashes will be - stripped from <parameter>string</parameter>. + ÅäÖÃÑ¡Ï±»ºöÂÔ£¬¶ø + <parameter>string</parameter> ÖеÄбÏß½«²»»á±»³éÈ¥¡£ </simpara> <note> <para> - ÔÚÇø»á¶þ½øÖÆÎļþ»òÎı¾ÎļþµÄϵͳ£¨Èç Windows£©ÉÏ£¬ - ´ò¿ªÎļþʱ±ØÐëÔÚ <function>fopen</function> µÄ´ò¿ªÄ£Ê½ÉÏÌí¼Ó¡®b¡¯¡£ + ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨Èç Windows£© + ´ò¿ªÎļþʱ£¬<function>fopen</function> º¯ÊýµÄ mode ²ÎÊýÒª¼ÓÉÏ 'b'¡£ </para> </note> <para> <example> - <title>Ò»¸ö¼òµ¥µÄfwrite·¶Àý</title> + <title>Ò»¸ö¼òµ¥µÄ fwrite ·¶Àý</title> <programlisting role="php"> <![CDATA[ <?php @@ -77,9 +79,9 @@ </example> </para> <simpara> - ²Î¼û <function>fread</function>, <function>fopen</function>, - <function>fsockopen</function>, <function>popen</function>, and - <function>fputs</function>. + ²Î¼û + <function>fread</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function> ºÍ + <function>fputs</function>¡£ </simpara> </refsect1> </refentry> Index: phpdoc-zh/reference/filesystem/functions/rmdir.xml diff -u phpdoc-zh/reference/filesystem/functions/rmdir.xml:1.4 phpdoc-zh/reference/filesystem/functions/rmdir.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/rmdir.xml:1.4 Sun Jan 12 07:45:18 2003 +++ phpdoc-zh/reference/filesystem/functions/rmdir.xml Fri Feb 28 03:22:08 2003 @@ -1,25 +1,25 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- $Author: dallas $ --> -<!-- EN-Revision: 1.2 Maintainer: lm92 Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: lm92 Status: ready --> <refentry id="function.rmdir"> <refnamediv> <refname>rmdir</refname> <refpurpose>ɾ³ýĿ¼</refpurpose> </refnamediv> <refsect1> - <title>ÃèÊö</title> - <methodsynopsis> - <type>bool</type><methodname>rmdir</methodname> - <methodparam><type>string</type><parameter>dirname</parameter></methodparam> - </methodsynopsis> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>rmdir</methodname> + <methodparam><type>string</type><parameter>dirname</parameter></methodparam> + </methodsynopsis> <para> ³¢ÊÔɾ³ý <parameter>dirname</parameter> ËùÖ¸¶¨µÄĿ¼¡£ - ¸ÃĿ¼±ØÐëÊǿյ쬶øÇÒÒªÓÐÏàÓ¦µÄȨÏÞ + ¸ÃĿ¼±ØÐëÊǿյ쬶øÇÒÒªÓÐÏàÓ¦µÄȨÏÞ¡£ &return.success; </para> <para> - ²Î¼û <function>mkdir</function> ºÍ <function>unlink</function>. + ²Î¼û <function>mkdir</function> ºÍ <function>unlink</function>¡£ </para> </refsect1> </refentry>