cvs: phpdoc-zh /reference/filesystem/functions ftell.xml fwrite.xml glob.xml is-uploaded-file.xml is-writable.xml is-writeable.xml mkdir.xml
pathinfo.xml popen.xml
| From: | Dallas Thunder | Date: | Tue, 13 Sep 2005 16:45:32 +0000 |
| Subject: | cvs: phpdoc-zh /reference/filesystem/functions ftell.xml fwrite.xml glob.xml is-uploaded-file.xml is-writable.xml is-writeable.xml mkdir.xml pathinfo.xml popen.xml |
||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2658@lists.php.net to get a copy of this message | ||
dallas Tue Sep 13 12:45:32 2005 EDT
Modified files:
/phpdoc-zh/reference/filesystem/functions ftell.xml fwrite.xml
glob.xml
is-uploaded-file.xml
is-writable.xml
is-writeable.xml
mkdir.xml pathinfo.xml
popen.xml
Log:
һЩÓÃÓïµÄÐÞÊÎ
http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/ftell.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/ftell.xml diff -u phpdoc-zh/reference/filesystem/functions/ftell.xml:1.5 phpdoc-zh/reference/filesystem/functions/ftell.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/ftell.xml:1.5 Mon Aug 15 23:03:00 2005 +++ phpdoc-zh/reference/filesystem/functions/ftell.xml Tue Sep 13 12:45:30 2005 @@ -1,34 +1,33 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.ftell"> - <refnamediv> - <refname>ftell</refname> - <refpurpose>·µ»ØÎļþÖ¸Õë¶Á/дµÄλÖÃ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>ftell</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - </methodsynopsis> - <para> - ·µ»ØÓÉ <parameter>handle</parameter> Ö¸¶¨µÄÎļþÖ¸ÕëµÄλÖã¬Ò²¾ÍÊÇÎļþÁ÷ÖÐµÄÆ«ÒÆÁ¿¡£ - </para> - <para> - Èç¹û³ö´í£¬·µ»Ø &false;¡£ - </para> - <para> - ÎļþÖ¸Õë±ØÐëÊÇÓÐЧµÄ£¬ÇÒ±ØÐëÖ¸ÏòÒ»¸öͨ¹ý <function>fopen</function> - »ò <function>popen</function> ³É¹¦´ò¿ªµÄÎļþ¡£ - ÔÚ¸½¼Óģʽ£¨¼Ó²ÎÊý "a" ´ò¿ªÎļþ£©ÖÐ <function>ftell</function> - »á·µ»ØÎ´¶¨Òå´íÎó¡£ - </para> - <para> - <example> - <title><function>ftell</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.ftell"> + <refnamediv> + <refname>ftell</refname> + <refpurpose>·µ»ØÎļþÖ¸Õë¶Á/дµÄλÖÃ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>ftell</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + </methodsynopsis> + <para> + ·µ»ØÓÉ <parameter>handle</parameter> Ö¸¶¨µÄÎļþÖ¸ÕëµÄλÖã¬Ò²¾ÍÊÇÎļþÁ÷ÖÐµÄÆ«ÒÆÁ¿¡£ + </para> + <para> + Èç¹û³ö´í£¬·µ»Ø &false;¡£ + </para> + <para> + ÎļþÖ¸Õë±ØÐëÊÇÓÐЧµÄ£¬ÇÒ±ØÐëÖ¸ÏòÒ»¸öͨ¹ý <function>fopen</function> + »ò <function>popen</function> ³É¹¦´ò¿ªµÄÎļþ¡£ÔÚ¸½¼Óģʽ£¨¼Ó²ÎÊý "a" ´ò¿ªÎļþ£©ÖÐ <function>ftell</function> + »á·µ»ØÎ´¶¨Òå´íÎó¡£ + </para> + <para> + <example> + <title><function>ftell</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php @@ -43,16 +42,16 @@ ?> ]]> - </programlisting> - </example> - </para> - <para> - ²Î¼û - <function>fopen</function>£¬<function>popen</function>£¬<function>fseek</function> - ºÍ <function>rewind</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + ²Î¼û + <function>fopen</function>£¬<function>popen</function>£¬<function>fseek</function> + ºÍ <function>rewind</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fwrite.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/fwrite.xml diff -u phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.5 phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.5 Sun Aug 14 11:16:38 2005 +++ phpdoc-zh/reference/filesystem/functions/fwrite.xml Tue Sep 13 12:45:30 2005 @@ -1,48 +1,48 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> - <refentry id="function.fwrite"> - <refnamediv> - <refname>fwrite</refname> - <refpurpose>дÈëÎļþ£¨¿É°²È«ÓÃÓÚ¶þ½øÖÆÎļþ£©</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>fwrite</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - <methodparam><type>string</type><parameter>string</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>fwrite</function> °Ñ <parameter>string</parameter> µÄÄÚÈÝдÈë - ÎļþÖ¸Õë <parameter>handle</parameter> ´¦¡£ Èç¹ûÖ¸¶¨ÁË - <parameter>length</parameter>£¬µ±Ð´ÈëÁË - <parameter>length</parameter> ¸ö×Ö½Ú»òÕßдÍêÁË <parameter>string</parameter> - ÒÔºó£¬Ð´Èë¾Í»áÍ£Ö¹£¬ÊÓºõÏÈÅöµ½ÄÄÖÖÇé¿ö¡£ - </simpara> - <simpara> - <function>fwrite</function> ·µ»ØÐ´ÈëµÄ×Ö·ûÊý£¬³öÏÖ´íÎóʱÔò·µ»Ø &false; ¡£ - </simpara> - <simpara> - ×¢ÒâÈç¹û¸ø³öÁË - <parameter>length</parameter> - ²ÎÊý£¬Ôò <link - linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link> - ÅäÖÃÑ¡Ï±»ºöÂÔ£¬¶ø - <parameter>string</parameter> ÖеÄбÏß½«²»»á±»³éÈ¥¡£ - </simpara> - <note> - <para> - ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨Èç Windows£© - ´ò¿ªÎļþʱ£¬<function>fopen</function> º¯ÊýµÄ mode ²ÎÊýÒª¼ÓÉÏ 'b'¡£ - </para> - </note> - <para> - <example> - <title>Ò»¸ö¼òµ¥µÄ <function>fwrite</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.fwrite"> + <refnamediv> + <refname>fwrite</refname> + <refpurpose>дÈëÎļþ£¨¿É°²È«ÓÃÓÚ¶þ½øÖÆÎļþ£©</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>fwrite</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + <methodparam><type>string</type><parameter>string</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> + </methodsynopsis> + <simpara> + <function>fwrite</function> °Ñ <parameter>string</parameter> µÄÄÚÈÝдÈë + ÎļþÖ¸Õë <parameter>handle</parameter> ´¦¡£ Èç¹ûÖ¸¶¨ÁË + <parameter>length</parameter>£¬µ±Ð´ÈëÁË + <parameter>length</parameter> ¸ö×Ö½Ú»òÕßдÍêÁË <parameter>string</parameter> + ÒÔºó£¬Ð´Èë¾Í»áÍ£Ö¹£¬ÊÓºõÏÈÅöµ½ÄÄÖÖÇé¿ö¡£ + </simpara> + <simpara> + <function>fwrite</function> ·µ»ØÐ´ÈëµÄ×Ö·ûÊý£¬³öÏÖ´íÎóʱÔò·µ»Ø &false; ¡£ + </simpara> + <simpara> + ×¢ÒâÈç¹û¸ø³öÁË + <parameter>length</parameter> + ²ÎÊý£¬Ôò <link + linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link> + ÅäÖÃÑ¡Ï±»ºöÂÔ£¬¶ø + <parameter>string</parameter> ÖеÄбÏß½«²»»á±»³éÈ¥¡£ + </simpara> + <note> + <para> + ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨Èç Windows£© + ´ò¿ªÎļþʱ£¬<function>fopen</function> º¯ÊýµÄ mode ²ÎÊýÒª¼ÓÉÏ 'b'¡£ + </para> + </note> + <para> + <example> + <title>Ò»¸ö¼òµ¥µÄ <function>fwrite</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $filename = 'test.txt'; @@ -74,16 +74,16 @@ } ?> ]]> - </programlisting> - </example> - </para> - <simpara> - ²Î¼û - <function>fread</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function> ºÍ - <function>file_put_contents</function>¡£ - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <simpara> + ²Î¼û + <function>fread</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function> + ºÍ <function>file_put_contents</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/glob.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/glob.xml diff -u phpdoc-zh/reference/filesystem/functions/glob.xml:1.6 phpdoc-zh/reference/filesystem/functions/glob.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/glob.xml:1.6 Sun Sep 4 03:04:04 2005 +++ phpdoc-zh/reference/filesystem/functions/glob.xml Tue Sep 13 12:45:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.19 Maintainer: dallas Status: ready --> <refentry id="function.glob"> @@ -20,7 +20,7 @@ ËùÓõĹæÔòÒ»Ñù¡£²»½øÐÐËõдÀ©Õ¹»ò²ÎÊýÌæ´ú¡£ </para> <para> - ·µ»ØÒ»¸ö°üº¬ÓÐÆ¥ÅäÎļþ/Ŀ¼µÄÊý×é¡£Èç¹û³ö´í·µ»Ø &false;¡£ + ·µ»ØÒ»¸ö°üº¬ÓÐÆ¥ÅäÎļþ£¯Ä¿Â¼µÄÊý×é¡£Èç¹û³ö´í·µ»Ø &false;¡£ </para> <para> ÓÐЧ±ê¼ÇΪ£º http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml diff -u phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml:1.4 phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml:1.4 Sun Aug 14 10:49:53 2005 +++ phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml Tue Sep 13 12:45:30 2005 @@ -1,37 +1,37 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.is-uploaded-file"> - <refnamediv> - <refname>is_uploaded_file</refname> - <refpurpose>ÅжÏÎļþÊÇ·ñÊÇͨ¹ý HTTP POST ÉÏ´«µÄ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>is_uploaded_file</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - Èç¹û <parameter>filename</parameter> Ëù¸ø³öµÄÎļþÊÇͨ¹ý - HTTP POST ÉÏ´«µÄÔò·µ»Ø &true;¡£Õâ¿ÉÒÔÓÃÀ´È·±£¶ñÒâµÄÓû§ÎÞ·¨ÆÛƽű¾È¥·ÃÎʱ¾²»ÄÜ·ÃÎʵÄÎļþ£¬ÀýÈç - <filename>/etc/passwd</filename>¡£ - </para> - <para> - ÕâÖÖ¼ì²éÏԵøñÍâÖØÒª£¬Èç¹ûÉÏ´«µÄÎļþÓпÉÄÜ»áÔì³É¶ÔÓû§»ò±¾ÏµÍ³µÄÆäËûÓû§ÏÔʾÆäÄÚÈݵϰ¡£ - </para> - <para> - ΪÁËÄÜʹ <function>is_uploaded_file</function> º¯ÊýÕý³£¹¤×÷£¬±Ø¶ÎÖ¸¶¨ÀàËÆÓÚ - $_FILES['userfile']['tmp_name'] µÄ±äÁ¿£¬¶øÔÚ´Ó¿Í»§¶ËÉÏ´«µÄÎļþÃû - $_FILES['userfile']['name'] ²»ÄÜÕý³£ÔË×÷¡£ - </para> - <example> - <title><function>is_uploaded_file</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.is-uploaded-file"> + <refnamediv> + <refname>is_uploaded_file</refname> + <refpurpose>ÅжÏÎļþÊÇ·ñÊÇͨ¹ý HTTP POST ÉÏ´«µÄ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>is_uploaded_file</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Èç¹û <parameter>filename</parameter> Ëù¸ø³öµÄÎļþÊÇͨ¹ý + HTTP POST ÉÏ´«µÄÔò·µ»Ø &true;¡£Õâ¿ÉÒÔÓÃÀ´È·±£¶ñÒâµÄÓû§ÎÞ·¨ÆÛƽű¾È¥·ÃÎʱ¾²»ÄÜ·ÃÎʵÄÎļþ£¬ÀýÈç + <filename>/etc/passwd</filename>¡£ + </para> + <para> + ÕâÖÖ¼ì²éÏԵøñÍâÖØÒª£¬Èç¹ûÉÏ´«µÄÎļþÓпÉÄÜ»áÔì³É¶ÔÓû§»ò±¾ÏµÍ³µÄÆäËûÓû§ÏÔʾÆäÄÚÈݵϰ¡£ + </para> + <para> + ΪÁËÄÜʹ <function>is_uploaded_file</function> º¯ÊýÕý³£¹¤×÷£¬±Ø¶ÎÖ¸¶¨ÀàËÆÓÚ + $_FILES['userfile']['tmp_name'] µÄ±äÁ¿£¬¶øÔÚ´Ó¿Í»§¶ËÉÏ´«µÄÎļþÃû + $_FILES['userfile']['name'] ²»ÄÜÕý³£ÔË×÷¡£ + </para> + <example> + <title><function>is_uploaded_file</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php - + if (is_uploaded_file($_FILES['userfile']['tmp_name'])) { echo "File ". $_FILES['userfile']['name'] ." uploaded successfully.\n"; echo "Displaying contents\n"; @@ -40,23 +40,23 @@ echo "Possible file upload attack: "; echo "filename '". $_FILES['userfile']['tmp_name'] . "'."; } - + ?>]]> - </programlisting> - </example> + </programlisting> + </example> + <para> + <function>is_uploaded_file</function> ½ö¿ÉÓÃÓÚ + PHP 3 µÄ 3.0.16 °æÖ®ºó£¬ÒÔ¼° PHP 4 µÄ 4.0.2 + °æÖ®ºó¡£Èç¹ûÖ´ÒâÒªÓÃÀϰ汾£¬¿ÉÒÔÓÃÏÂÃæµÄº¯ÊýÀ´±£»¤×Ô¼º£º + <note> <para> - <function>is_uploaded_file</function> ½ö¿ÉÓÃÓÚ - PHP 3 µÄ 3.0.16 °æÖ®ºó£¬ÒÔ¼° PHP 4 µÄ 4.0.2 - °æÖ®ºó¡£Èç¹ûÄãÖ´ÒâÒªÓÃÀϰ汾£¬¿ÉÒÔÓÃÏÂÃæµÄº¯ÊýÀ´±£»¤×Ô¼º£º - <note> - <para> - ÒÔÏÂÀý×Ó<emphasis>²»ÄÜ</emphasis>ÓÃÓÚ - PHP 4 µÄ 4.0.2 °æÖ®ºó¡£ËüÒÀÀµµÄ PHP ÄÚ²¿º¯ÊýÔڸð汾֮ºó¸Ä±äÁË¡£ - </para> - </note> + ÒÔÏÂÀý×Ó<emphasis>²»ÄÜ</emphasis>ÓÃÓÚ + PHP 4 µÄ 4.0.2 °æÖ®ºó¡£ËüÒÀÀµµÄ PHP ÄÚ²¿º¯ÊýÔڸð汾֮ºó¸Ä±äÁË¡£ </para> - <example> - <title><function>is_uploaded_file</function> ¿ÉÔËÐÐÓÚ PHP 4 < 4.0.3 µÄÀý×Ó</title> + </note> + </para> + <example> + <title><function>is_uploaded_file</function> ¿ÉÔËÐÐÓÚ PHP 4 < 4.0.3 µÄÀý×Ó</title> <programlisting role="php"> <![CDATA[ <?php @@ -80,14 +80,14 @@ } ?> ]]> - </programlisting> - </example> - <para> - ²Î¼û <function>move_uploaded_file</function>£¬ÒÔ¼°<link - linkend="features.file-upload">ÎļþÉÏ´«´¦Àí</link>Ò»ÕÂÖеļòµ¥Ê¹ÓÃÀý×Ó¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + <para> + ²Î¼û <function>move_uploaded_file</function>£¬ÒÔ¼°<link + linkend="features.file-upload">ÎļþÉÏ´«´¦Àí</link>Ò»ÕÂÖеļòµ¥Ê¹ÓÃÀý×Ó¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/is-writable.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-writable.xml diff -u phpdoc-zh/reference/filesystem/functions/is-writable.xml:1.5 phpdoc-zh/reference/filesystem/functions/is-writable.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/is-writable.xml:1.5 Sun Aug 14 10:41:38 2005 +++ phpdoc-zh/reference/filesystem/functions/is-writable.xml Tue Sep 13 12:45:30 2005 @@ -1,30 +1,30 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> - <refentry id="function.is-writable"> - <refnamediv> - <refname>is_writable</refname> - <refpurpose>Åжϸø¶¨µÄÎļþÃûÊÇ·ñ¿Éд</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>is_writable</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - Èç¹ûÎļþ´æÔÚ²¢ÇÒ¿ÉдÔò·µ»Ø &true;¡£<parameter>filename</parameter> - ²ÎÊý¿ÉÒÔÊÇÒ»¸öÔÊÐí½øÐÐÊÇ·ñ¿Éд¼ì²éµÄĿ¼Ãû¡£ - </para> - <para> - ¼Çס PHP Ò²ÐíÖ»ÄÜÒÔÔËÐÐ webserver µÄÓû§Ãû£¨Í¨³£Îª - 'nobody'£©À´·ÃÎÊÎļþ¡£²»¼ÆÈ밲ȫģʽµÄÏÞÖÆ¡£ - </para> - <para> - <example> - <title><function>is_writable</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.is-writable"> + <refnamediv> + <refname>is_writable</refname> + <refpurpose>Åжϸø¶¨µÄÎļþÃûÊÇ·ñ¿Éд</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>is_writable</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Èç¹ûÎļþ´æÔÚ²¢ÇÒ¿ÉдÔò·µ»Ø &true;¡£<parameter>filename</parameter> + ²ÎÊý¿ÉÒÔÊÇÒ»¸öÔÊÐí½øÐÐÊÇ·ñ¿Éд¼ì²éµÄĿ¼Ãû¡£ + </para> + <para> + ¼Çס PHP Ò²ÐíÖ»ÄÜÒÔÔËÐÐ webserver µÄÓû§Ãû£¨Í¨³£Îª + 'nobody'£©À´·ÃÎÊÎļþ¡£²»¼ÆÈ밲ȫģʽµÄÏÞÖÆ¡£ + </para> + <para> + <example> + <title><function>is_writable</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $filename = 'test.txt'; @@ -35,18 +35,17 @@ } ?> ]]> - </programlisting> - </example> - </para> - ¬e.clearstatcache; - &tip.fopen-wrapper.stat; - <para> - See also <function>is_readable</function>, - <function>file_exists</function>, and - <function>fwrite</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + ¬e.clearstatcache; + &tip.fopen-wrapper.stat; + <para> + ²Î¼û <function>is_readable</function>£¬<function>file_exists</function> + ºÍ <function>fwrite</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/is-writeable.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-writeable.xml diff -u phpdoc-zh/reference/filesystem/functions/is-writeable.xml:1.6 phpdoc-zh/reference/filesystem/functions/is-writeable.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/is-writeable.xml:1.6 Sun Sep 4 02:03:19 2005 +++ phpdoc-zh/reference/filesystem/functions/is-writeable.xml Tue Sep 13 12:45:30 2005 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> <refentry id="function.is-writeable"> <refnamediv> <refname>is_writeable</refname> - <refpurpose><function>is_writable</function>µÄ&Alias;</refpurpose> + <refpurpose><function>is_writable</function> µÄ&Alias;</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/mkdir.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/mkdir.xml diff -u phpdoc-zh/reference/filesystem/functions/mkdir.xml:1.6 phpdoc-zh/reference/filesystem/functions/mkdir.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/mkdir.xml:1.6 Sun Sep 4 03:04:04 2005 +++ phpdoc-zh/reference/filesystem/functions/mkdir.xml Tue Sep 13 12:45:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.17 Maintainer: dallas Status: ready --> <refentry id="function.mkdir"> @@ -13,6 +13,8 @@ <type>bool</type><methodname>mkdir</methodname> <methodparam><type>string</type><parameter>pathname</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>recursive</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> </methodsynopsis> <para> ³¢ÊÔн¨Ò»¸öÓÉ <parameter>pathname</parameter> Ö¸¶¨µÄĿ¼¡£ @@ -24,7 +26,7 @@ <para> <note> <para> - Mode ÔÚ Windows ϱ»ºöÂÔ¡£×Ô PHP 4.2.0 Æð³ÉΪ¿ÉÑ¡Ïî¡£ + mode ÔÚ Windows ϱ»ºöÂÔ¡£×Ô PHP 4.2.0 Æð³ÉΪ¿ÉÑ¡Ïî¡£ </para> </note> </para> @@ -42,6 +44,9 @@ </programlisting> </example> </para> + <para> + &return.success; + </para> <note> <simpara> ×Ô PHP 5.0.0 <function>rmdir</function> Ò²¿ÉÓÃÓÚ<emphasis>ijЩ</emphasis> @@ -49,14 +54,13 @@ µÄÁÐ±í¿´¿´ <function>rmdir</function> Ö§³ÖÄÄЩ URL ·â×°ÐÒé¡£ </simpara> </note> + ¬e.context-support; <note> <simpara> <parameter>recursive</parameter> ²ÎÊýÊÇ PHP 5.0.0 Ìí¼ÓµÄ¡£ </simpara> </note> - <para> - &return.success; - </para> + ¬e.sm.uidcheck.dir; <para> ²Î¼û <function>rmdir</function>¡£ </para> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/pathinfo.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/pathinfo.xml diff -u phpdoc-zh/reference/filesystem/functions/pathinfo.xml:1.6 phpdoc-zh/reference/filesystem/functions/pathinfo.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/pathinfo.xml:1.6 Sun Sep 4 03:04:04 2005 +++ phpdoc-zh/reference/filesystem/functions/pathinfo.xml Tue Sep 13 12:45:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> <refentry id="function.pathinfo"> @@ -15,7 +15,7 @@ <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> </methodsynopsis> <para> - <function>pathinfo</function> ·µ»ØÒ»¸öÁªºÏÊý×é°üº¬ÓÐ <literal>path</literal> + <function>pathinfo</function> ·µ»ØÒ»¸ö¹ØÁªÊý×é°üº¬ÓÐ <literal>path</literal> µÄÐÅÏ¢¡£°üÀ¨ÒÔϵÄÊý×éµ¥Ôª£º<literal>dirname</literal>£¬<literal>basename</literal> ºÍ <literal>extension</literal>¡£ </para> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/popen.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/popen.xml diff -u phpdoc-zh/reference/filesystem/functions/popen.xml:1.5 phpdoc-zh/reference/filesystem/functions/popen.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/popen.xml:1.5 Sun Aug 14 08:43:29 2005 +++ phpdoc-zh/reference/filesystem/functions/popen.xml Tue Sep 13 12:45:30 2005 @@ -1,55 +1,55 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> - <refentry id="function.popen"> - <refnamediv> - <refname>popen</refname> - <refpurpose>´ò¿ª½ø³ÌÎļþÖ¸Õë</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>resource</type><methodname>popen</methodname> - <methodparam><type>string</type><parameter>command</parameter></methodparam> - <methodparam><type>string</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - ´ò¿ªÒ»¸öÖ¸Ïò½ø³ÌµÄ¹ÜµÀ£¬¸Ã½ø³ÌÓÉÅÉÉú¸ø¶¨µÄ <parameter>command</parameter> ÃüÁîÖ´Ðжø²úÉú¡£ - </para> - <para> - ·µ»ØÒ»¸öºÍ <function>fopen</function> - Ëù·µ»ØµÄÏàͬµÄÎļþÖ¸Õ룬ֻ²»¹ýËüÊǵ¥ÏòµÄ£¨Ö»ÄÜÓÃÓÚ¶Á»òд£©²¢ÇÒ±ØÐëÓà - <function>pclose</function> À´¹Ø±Õ¡£´ËÖ¸Õë¿ÉÒÔÓÃÓÚ - <function>fgets</function>£¬<function>fgetss</function> ºÍ - <function>fwrite</function>¡£ - </para> - <para> - Èç¹û³ö´í·µ»Ø &false;¡£ - </para> - <note> - <para> - Èç¹ûÐèҪ˫ÏòÖ§³Ö£¬Ê¹Óà <function>proc_open</function>¡£ - </para> - </note> - <para> - <example> - <title><function>popen</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.popen"> + <refnamediv> + <refname>popen</refname> + <refpurpose>´ò¿ª½ø³ÌÎļþÖ¸Õë</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>resource</type><methodname>popen</methodname> + <methodparam><type>string</type><parameter>command</parameter></methodparam> + <methodparam><type>string</type><parameter>mode</parameter></methodparam> + </methodsynopsis> + <para> + ´ò¿ªÒ»¸öÖ¸Ïò½ø³ÌµÄ¹ÜµÀ£¬¸Ã½ø³ÌÓÉÅÉÉú¸ø¶¨µÄ <parameter>command</parameter> ÃüÁîÖ´Ðжø²úÉú¡£ + </para> + <para> + ·µ»ØÒ»¸öºÍ <function>fopen</function> + Ëù·µ»ØµÄÏàͬµÄÎļþÖ¸Õ룬ֻ²»¹ýËüÊǵ¥ÏòµÄ£¨Ö»ÄÜÓÃÓÚ¶Á»òд£©²¢ÇÒ±ØÐëÓà + <function>pclose</function> À´¹Ø±Õ¡£´ËÖ¸Õë¿ÉÒÔÓÃÓÚ + <function>fgets</function>£¬<function>fgetss</function> ºÍ + <function>fwrite</function>¡£ + </para> + <para> + Èç¹û³ö´í·µ»Ø &false;¡£ + </para> + <note> + <para> + Èç¹ûÐèҪ˫ÏòÖ§³Ö£¬Ê¹Óà <function>proc_open</function>¡£ + </para> + </note> + <para> + <example> + <title><function>popen</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $handle = popen("/bin/ls", "r"); ?> ]]> - </programlisting> - </example> - </para> - <note> - <para> - Èç¹ûδÕÒµ½ÒªÖ´ÐеÄÃüÁ»á·µ»ØÒ»¸öºÏ·¨µÄ×ÊÔ´¡£Õâ¿´ÉÏÈ¥ºÜ¹Ö£¬µ«ÓеÀÀí¡£ËüÔÊÐíÄã·ÃÎÊ - shell ·µ»ØµÄÈκδíÎóÐÅÏ¢£º - <informalexample> - <programlisting role="php"> + </programlisting> + </example> + </para> + <note> + <para> + Èç¹ûδÕÒµ½ÒªÖ´ÐеÄÃüÁ»á·µ»ØÒ»¸öºÏ·¨µÄ×ÊÔ´¡£Õâ¿´ÉÏÈ¥ºÜ¹Ö£¬µ«ÓеÀÀí¡£ËüÔÊÐí·ÃÎÊ + shell ·µ»ØµÄÈκδíÎóÐÅÏ¢£º + <informalexample> + <programlisting role="php"> <![CDATA[ <?php error_reporting(E_ALL); @@ -62,18 +62,18 @@ pclose($handle); ?> ]]> - </programlisting> - </informalexample> - </para> - </note> - ¬e.exec-path; - &warn.sm.exec; - <para> - ²Î¼û <function>pclose</function>£¬<function>fopen</function> ºÍ - <function>proc_open</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </informalexample> + </para> + </note> + ¬e.exec-path; + &warn.sm.exec; + <para> + ²Î¼û <function>pclose</function>£¬<function>fopen</function> ºÍ + <function>proc_open</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/ftell.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/ftell.xml diff -u phpdoc-zh/reference/filesystem/functions/ftell.xml:1.5 phpdoc-zh/reference/filesystem/functions/ftell.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/ftell.xml:1.5 Mon Aug 15 23:03:00 2005 +++ phpdoc-zh/reference/filesystem/functions/ftell.xml Tue Sep 13 12:45:30 2005 @@ -1,34 +1,33 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.ftell"> - <refnamediv> - <refname>ftell</refname> - <refpurpose>·µ»ØÎļþÖ¸Õë¶Á/дµÄλÖÃ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>ftell</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - </methodsynopsis> - <para> - ·µ»ØÓÉ <parameter>handle</parameter> Ö¸¶¨µÄÎļþÖ¸ÕëµÄλÖã¬Ò²¾ÍÊÇÎļþÁ÷ÖÐµÄÆ«ÒÆÁ¿¡£ - </para> - <para> - Èç¹û³ö´í£¬·µ»Ø &false;¡£ - </para> - <para> - ÎļþÖ¸Õë±ØÐëÊÇÓÐЧµÄ£¬ÇÒ±ØÐëÖ¸ÏòÒ»¸öͨ¹ý <function>fopen</function> - »ò <function>popen</function> ³É¹¦´ò¿ªµÄÎļþ¡£ - ÔÚ¸½¼Óģʽ£¨¼Ó²ÎÊý "a" ´ò¿ªÎļþ£©ÖÐ <function>ftell</function> - »á·µ»ØÎ´¶¨Òå´íÎó¡£ - </para> - <para> - <example> - <title><function>ftell</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.ftell"> + <refnamediv> + <refname>ftell</refname> + <refpurpose>·µ»ØÎļþÖ¸Õë¶Á/дµÄλÖÃ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>ftell</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + </methodsynopsis> + <para> + ·µ»ØÓÉ <parameter>handle</parameter> Ö¸¶¨µÄÎļþÖ¸ÕëµÄλÖã¬Ò²¾ÍÊÇÎļþÁ÷ÖÐµÄÆ«ÒÆÁ¿¡£ + </para> + <para> + Èç¹û³ö´í£¬·µ»Ø &false;¡£ + </para> + <para> + ÎļþÖ¸Õë±ØÐëÊÇÓÐЧµÄ£¬ÇÒ±ØÐëÖ¸ÏòÒ»¸öͨ¹ý <function>fopen</function> + »ò <function>popen</function> ³É¹¦´ò¿ªµÄÎļþ¡£ÔÚ¸½¼Óģʽ£¨¼Ó²ÎÊý "a" ´ò¿ªÎļþ£©ÖÐ <function>ftell</function> + »á·µ»ØÎ´¶¨Òå´íÎó¡£ + </para> + <para> + <example> + <title><function>ftell</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php @@ -43,16 +42,16 @@ ?> ]]> - </programlisting> - </example> - </para> - <para> - ²Î¼û - <function>fopen</function>£¬<function>popen</function>£¬<function>fseek</function> - ºÍ <function>rewind</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + ²Î¼û + <function>fopen</function>£¬<function>popen</function>£¬<function>fseek</function> + ºÍ <function>rewind</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fwrite.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/fwrite.xml diff -u phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.5 phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/fwrite.xml:1.5 Sun Aug 14 11:16:38 2005 +++ phpdoc-zh/reference/filesystem/functions/fwrite.xml Tue Sep 13 12:45:30 2005 @@ -1,48 +1,48 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> - <refentry id="function.fwrite"> - <refnamediv> - <refname>fwrite</refname> - <refpurpose>дÈëÎļþ£¨¿É°²È«ÓÃÓÚ¶þ½øÖÆÎļþ£©</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>fwrite</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - <methodparam><type>string</type><parameter>string</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>fwrite</function> °Ñ <parameter>string</parameter> µÄÄÚÈÝдÈë - ÎļþÖ¸Õë <parameter>handle</parameter> ´¦¡£ Èç¹ûÖ¸¶¨ÁË - <parameter>length</parameter>£¬µ±Ð´ÈëÁË - <parameter>length</parameter> ¸ö×Ö½Ú»òÕßдÍêÁË <parameter>string</parameter> - ÒÔºó£¬Ð´Èë¾Í»áÍ£Ö¹£¬ÊÓºõÏÈÅöµ½ÄÄÖÖÇé¿ö¡£ - </simpara> - <simpara> - <function>fwrite</function> ·µ»ØÐ´ÈëµÄ×Ö·ûÊý£¬³öÏÖ´íÎóʱÔò·µ»Ø &false; ¡£ - </simpara> - <simpara> - ×¢ÒâÈç¹û¸ø³öÁË - <parameter>length</parameter> - ²ÎÊý£¬Ôò <link - linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link> - ÅäÖÃÑ¡Ï±»ºöÂÔ£¬¶ø - <parameter>string</parameter> ÖеÄбÏß½«²»»á±»³éÈ¥¡£ - </simpara> - <note> - <para> - ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨Èç Windows£© - ´ò¿ªÎļþʱ£¬<function>fopen</function> º¯ÊýµÄ mode ²ÎÊýÒª¼ÓÉÏ 'b'¡£ - </para> - </note> - <para> - <example> - <title>Ò»¸ö¼òµ¥µÄ <function>fwrite</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.fwrite"> + <refnamediv> + <refname>fwrite</refname> + <refpurpose>дÈëÎļþ£¨¿É°²È«ÓÃÓÚ¶þ½øÖÆÎļþ£©</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>fwrite</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + <methodparam><type>string</type><parameter>string</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> + </methodsynopsis> + <simpara> + <function>fwrite</function> °Ñ <parameter>string</parameter> µÄÄÚÈÝдÈë + ÎļþÖ¸Õë <parameter>handle</parameter> ´¦¡£ Èç¹ûÖ¸¶¨ÁË + <parameter>length</parameter>£¬µ±Ð´ÈëÁË + <parameter>length</parameter> ¸ö×Ö½Ú»òÕßдÍêÁË <parameter>string</parameter> + ÒÔºó£¬Ð´Èë¾Í»áÍ£Ö¹£¬ÊÓºõÏÈÅöµ½ÄÄÖÖÇé¿ö¡£ + </simpara> + <simpara> + <function>fwrite</function> ·µ»ØÐ´ÈëµÄ×Ö·ûÊý£¬³öÏÖ´íÎóʱÔò·µ»Ø &false; ¡£ + </simpara> + <simpara> + ×¢ÒâÈç¹û¸ø³öÁË + <parameter>length</parameter> + ²ÎÊý£¬Ôò <link + linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link> + ÅäÖÃÑ¡Ï±»ºöÂÔ£¬¶ø + <parameter>string</parameter> ÖеÄбÏß½«²»»á±»³éÈ¥¡£ + </simpara> + <note> + <para> + ÔÚÇø·Ö¶þ½øÖÆÎļþºÍÎı¾ÎļþµÄϵͳÉÏ£¨Èç Windows£© + ´ò¿ªÎļþʱ£¬<function>fopen</function> º¯ÊýµÄ mode ²ÎÊýÒª¼ÓÉÏ 'b'¡£ + </para> + </note> + <para> + <example> + <title>Ò»¸ö¼òµ¥µÄ <function>fwrite</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $filename = 'test.txt'; @@ -74,16 +74,16 @@ } ?> ]]> - </programlisting> - </example> - </para> - <simpara> - ²Î¼û - <function>fread</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function> ºÍ - <function>file_put_contents</function>¡£ - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <simpara> + ²Î¼û + <function>fread</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function> + ºÍ <function>file_put_contents</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/glob.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/glob.xml diff -u phpdoc-zh/reference/filesystem/functions/glob.xml:1.6 phpdoc-zh/reference/filesystem/functions/glob.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/glob.xml:1.6 Sun Sep 4 03:04:04 2005 +++ phpdoc-zh/reference/filesystem/functions/glob.xml Tue Sep 13 12:45:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.19 Maintainer: dallas Status: ready --> <refentry id="function.glob"> @@ -20,7 +20,7 @@ ËùÓõĹæÔòÒ»Ñù¡£²»½øÐÐËõдÀ©Õ¹»ò²ÎÊýÌæ´ú¡£ </para> <para> - ·µ»ØÒ»¸ö°üº¬ÓÐÆ¥ÅäÎļþ/Ŀ¼µÄÊý×é¡£Èç¹û³ö´í·µ»Ø &false;¡£ + ·µ»ØÒ»¸ö°üº¬ÓÐÆ¥ÅäÎļþ£¯Ä¿Â¼µÄÊý×é¡£Èç¹û³ö´í·µ»Ø &false;¡£ </para> <para> ÓÐЧ±ê¼ÇΪ£º http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml diff -u phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml:1.4 phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml:1.4 Sun Aug 14 10:49:53 2005 +++ phpdoc-zh/reference/filesystem/functions/is-uploaded-file.xml Tue Sep 13 12:45:30 2005 @@ -1,37 +1,37 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.is-uploaded-file"> - <refnamediv> - <refname>is_uploaded_file</refname> - <refpurpose>ÅжÏÎļþÊÇ·ñÊÇͨ¹ý HTTP POST ÉÏ´«µÄ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>is_uploaded_file</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - Èç¹û <parameter>filename</parameter> Ëù¸ø³öµÄÎļþÊÇͨ¹ý - HTTP POST ÉÏ´«µÄÔò·µ»Ø &true;¡£Õâ¿ÉÒÔÓÃÀ´È·±£¶ñÒâµÄÓû§ÎÞ·¨ÆÛƽű¾È¥·ÃÎʱ¾²»ÄÜ·ÃÎʵÄÎļþ£¬ÀýÈç - <filename>/etc/passwd</filename>¡£ - </para> - <para> - ÕâÖÖ¼ì²éÏԵøñÍâÖØÒª£¬Èç¹ûÉÏ´«µÄÎļþÓпÉÄÜ»áÔì³É¶ÔÓû§»ò±¾ÏµÍ³µÄÆäËûÓû§ÏÔʾÆäÄÚÈݵϰ¡£ - </para> - <para> - ΪÁËÄÜʹ <function>is_uploaded_file</function> º¯ÊýÕý³£¹¤×÷£¬±Ø¶ÎÖ¸¶¨ÀàËÆÓÚ - $_FILES['userfile']['tmp_name'] µÄ±äÁ¿£¬¶øÔÚ´Ó¿Í»§¶ËÉÏ´«µÄÎļþÃû - $_FILES['userfile']['name'] ²»ÄÜÕý³£ÔË×÷¡£ - </para> - <example> - <title><function>is_uploaded_file</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.is-uploaded-file"> + <refnamediv> + <refname>is_uploaded_file</refname> + <refpurpose>ÅжÏÎļþÊÇ·ñÊÇͨ¹ý HTTP POST ÉÏ´«µÄ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>is_uploaded_file</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Èç¹û <parameter>filename</parameter> Ëù¸ø³öµÄÎļþÊÇͨ¹ý + HTTP POST ÉÏ´«µÄÔò·µ»Ø &true;¡£Õâ¿ÉÒÔÓÃÀ´È·±£¶ñÒâµÄÓû§ÎÞ·¨ÆÛƽű¾È¥·ÃÎʱ¾²»ÄÜ·ÃÎʵÄÎļþ£¬ÀýÈç + <filename>/etc/passwd</filename>¡£ + </para> + <para> + ÕâÖÖ¼ì²éÏԵøñÍâÖØÒª£¬Èç¹ûÉÏ´«µÄÎļþÓпÉÄÜ»áÔì³É¶ÔÓû§»ò±¾ÏµÍ³µÄÆäËûÓû§ÏÔʾÆäÄÚÈݵϰ¡£ + </para> + <para> + ΪÁËÄÜʹ <function>is_uploaded_file</function> º¯ÊýÕý³£¹¤×÷£¬±Ø¶ÎÖ¸¶¨ÀàËÆÓÚ + $_FILES['userfile']['tmp_name'] µÄ±äÁ¿£¬¶øÔÚ´Ó¿Í»§¶ËÉÏ´«µÄÎļþÃû + $_FILES['userfile']['name'] ²»ÄÜÕý³£ÔË×÷¡£ + </para> + <example> + <title><function>is_uploaded_file</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php - + if (is_uploaded_file($_FILES['userfile']['tmp_name'])) { echo "File ". $_FILES['userfile']['name'] ." uploaded successfully.\n"; echo "Displaying contents\n"; @@ -40,23 +40,23 @@ echo "Possible file upload attack: "; echo "filename '". $_FILES['userfile']['tmp_name'] . "'."; } - + ?>]]> - </programlisting> - </example> + </programlisting> + </example> + <para> + <function>is_uploaded_file</function> ½ö¿ÉÓÃÓÚ + PHP 3 µÄ 3.0.16 °æÖ®ºó£¬ÒÔ¼° PHP 4 µÄ 4.0.2 + °æÖ®ºó¡£Èç¹ûÖ´ÒâÒªÓÃÀϰ汾£¬¿ÉÒÔÓÃÏÂÃæµÄº¯ÊýÀ´±£»¤×Ô¼º£º + <note> <para> - <function>is_uploaded_file</function> ½ö¿ÉÓÃÓÚ - PHP 3 µÄ 3.0.16 °æÖ®ºó£¬ÒÔ¼° PHP 4 µÄ 4.0.2 - °æÖ®ºó¡£Èç¹ûÄãÖ´ÒâÒªÓÃÀϰ汾£¬¿ÉÒÔÓÃÏÂÃæµÄº¯ÊýÀ´±£»¤×Ô¼º£º - <note> - <para> - ÒÔÏÂÀý×Ó<emphasis>²»ÄÜ</emphasis>ÓÃÓÚ - PHP 4 µÄ 4.0.2 °æÖ®ºó¡£ËüÒÀÀµµÄ PHP ÄÚ²¿º¯ÊýÔڸð汾֮ºó¸Ä±äÁË¡£ - </para> - </note> + ÒÔÏÂÀý×Ó<emphasis>²»ÄÜ</emphasis>ÓÃÓÚ + PHP 4 µÄ 4.0.2 °æÖ®ºó¡£ËüÒÀÀµµÄ PHP ÄÚ²¿º¯ÊýÔڸð汾֮ºó¸Ä±äÁË¡£ </para> - <example> - <title><function>is_uploaded_file</function> ¿ÉÔËÐÐÓÚ PHP 4 < 4.0.3 µÄÀý×Ó</title> + </note> + </para> + <example> + <title><function>is_uploaded_file</function> ¿ÉÔËÐÐÓÚ PHP 4 < 4.0.3 µÄÀý×Ó</title> <programlisting role="php"> <![CDATA[ <?php @@ -80,14 +80,14 @@ } ?> ]]> - </programlisting> - </example> - <para> - ²Î¼û <function>move_uploaded_file</function>£¬ÒÔ¼°<link - linkend="features.file-upload">ÎļþÉÏ´«´¦Àí</link>Ò»ÕÂÖеļòµ¥Ê¹ÓÃÀý×Ó¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + <para> + ²Î¼û <function>move_uploaded_file</function>£¬ÒÔ¼°<link + linkend="features.file-upload">ÎļþÉÏ´«´¦Àí</link>Ò»ÕÂÖеļòµ¥Ê¹ÓÃÀý×Ó¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/is-writable.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-writable.xml diff -u phpdoc-zh/reference/filesystem/functions/is-writable.xml:1.5 phpdoc-zh/reference/filesystem/functions/is-writable.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/is-writable.xml:1.5 Sun Aug 14 10:41:38 2005 +++ phpdoc-zh/reference/filesystem/functions/is-writable.xml Tue Sep 13 12:45:30 2005 @@ -1,30 +1,30 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> - <refentry id="function.is-writable"> - <refnamediv> - <refname>is_writable</refname> - <refpurpose>Åжϸø¶¨µÄÎļþÃûÊÇ·ñ¿Éд</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>is_writable</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - Èç¹ûÎļþ´æÔÚ²¢ÇÒ¿ÉдÔò·µ»Ø &true;¡£<parameter>filename</parameter> - ²ÎÊý¿ÉÒÔÊÇÒ»¸öÔÊÐí½øÐÐÊÇ·ñ¿Éд¼ì²éµÄĿ¼Ãû¡£ - </para> - <para> - ¼Çס PHP Ò²ÐíÖ»ÄÜÒÔÔËÐÐ webserver µÄÓû§Ãû£¨Í¨³£Îª - 'nobody'£©À´·ÃÎÊÎļþ¡£²»¼ÆÈ밲ȫģʽµÄÏÞÖÆ¡£ - </para> - <para> - <example> - <title><function>is_writable</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.is-writable"> + <refnamediv> + <refname>is_writable</refname> + <refpurpose>Åжϸø¶¨µÄÎļþÃûÊÇ·ñ¿Éд</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>is_writable</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Èç¹ûÎļþ´æÔÚ²¢ÇÒ¿ÉдÔò·µ»Ø &true;¡£<parameter>filename</parameter> + ²ÎÊý¿ÉÒÔÊÇÒ»¸öÔÊÐí½øÐÐÊÇ·ñ¿Éд¼ì²éµÄĿ¼Ãû¡£ + </para> + <para> + ¼Çס PHP Ò²ÐíÖ»ÄÜÒÔÔËÐÐ webserver µÄÓû§Ãû£¨Í¨³£Îª + 'nobody'£©À´·ÃÎÊÎļþ¡£²»¼ÆÈ밲ȫģʽµÄÏÞÖÆ¡£ + </para> + <para> + <example> + <title><function>is_writable</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $filename = 'test.txt'; @@ -35,18 +35,17 @@ } ?> ]]> - </programlisting> - </example> - </para> - ¬e.clearstatcache; - &tip.fopen-wrapper.stat; - <para> - See also <function>is_readable</function>, - <function>file_exists</function>, and - <function>fwrite</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + ¬e.clearstatcache; + &tip.fopen-wrapper.stat; + <para> + ²Î¼û <function>is_readable</function>£¬<function>file_exists</function> + ºÍ <function>fwrite</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/is-writeable.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/is-writeable.xml diff -u phpdoc-zh/reference/filesystem/functions/is-writeable.xml:1.6 phpdoc-zh/reference/filesystem/functions/is-writeable.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/is-writeable.xml:1.6 Sun Sep 4 02:03:19 2005 +++ phpdoc-zh/reference/filesystem/functions/is-writeable.xml Tue Sep 13 12:45:30 2005 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> <refentry id="function.is-writeable"> <refnamediv> <refname>is_writeable</refname> - <refpurpose><function>is_writable</function>µÄ&Alias;</refpurpose> + <refpurpose><function>is_writable</function> µÄ&Alias;</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/mkdir.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/mkdir.xml diff -u phpdoc-zh/reference/filesystem/functions/mkdir.xml:1.6 phpdoc-zh/reference/filesystem/functions/mkdir.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/mkdir.xml:1.6 Sun Sep 4 03:04:04 2005 +++ phpdoc-zh/reference/filesystem/functions/mkdir.xml Tue Sep 13 12:45:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.17 Maintainer: dallas Status: ready --> <refentry id="function.mkdir"> @@ -13,6 +13,8 @@ <type>bool</type><methodname>mkdir</methodname> <methodparam><type>string</type><parameter>pathname</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>recursive</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> </methodsynopsis> <para> ³¢ÊÔн¨Ò»¸öÓÉ <parameter>pathname</parameter> Ö¸¶¨µÄĿ¼¡£ @@ -24,7 +26,7 @@ <para> <note> <para> - Mode ÔÚ Windows ϱ»ºöÂÔ¡£×Ô PHP 4.2.0 Æð³ÉΪ¿ÉÑ¡Ïî¡£ + mode ÔÚ Windows ϱ»ºöÂÔ¡£×Ô PHP 4.2.0 Æð³ÉΪ¿ÉÑ¡Ïî¡£ </para> </note> </para> @@ -42,6 +44,9 @@ </programlisting> </example> </para> + <para> + &return.success; + </para> <note> <simpara> ×Ô PHP 5.0.0 <function>rmdir</function> Ò²¿ÉÓÃÓÚ<emphasis>ijЩ</emphasis> @@ -49,14 +54,13 @@ µÄÁÐ±í¿´¿´ <function>rmdir</function> Ö§³ÖÄÄЩ URL ·â×°ÐÒé¡£ </simpara> </note> + ¬e.context-support; <note> <simpara> <parameter>recursive</parameter> ²ÎÊýÊÇ PHP 5.0.0 Ìí¼ÓµÄ¡£ </simpara> </note> - <para> - &return.success; - </para> + ¬e.sm.uidcheck.dir; <para> ²Î¼û <function>rmdir</function>¡£ </para> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/pathinfo.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/pathinfo.xml diff -u phpdoc-zh/reference/filesystem/functions/pathinfo.xml:1.6 phpdoc-zh/reference/filesystem/functions/pathinfo.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/pathinfo.xml:1.6 Sun Sep 4 03:04:04 2005 +++ phpdoc-zh/reference/filesystem/functions/pathinfo.xml Tue Sep 13 12:45:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> <refentry id="function.pathinfo"> @@ -15,7 +15,7 @@ <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> </methodsynopsis> <para> - <function>pathinfo</function> ·µ»ØÒ»¸öÁªºÏÊý×é°üº¬ÓÐ <literal>path</literal> + <function>pathinfo</function> ·µ»ØÒ»¸ö¹ØÁªÊý×é°üº¬ÓÐ <literal>path</literal> µÄÐÅÏ¢¡£°üÀ¨ÒÔϵÄÊý×éµ¥Ôª£º<literal>dirname</literal>£¬<literal>basename</literal> ºÍ <literal>extension</literal>¡£ </para> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/popen.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/popen.xml diff -u phpdoc-zh/reference/filesystem/functions/popen.xml:1.5 phpdoc-zh/reference/filesystem/functions/popen.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/popen.xml:1.5 Sun Aug 14 08:43:29 2005 +++ phpdoc-zh/reference/filesystem/functions/popen.xml Tue Sep 13 12:45:30 2005 @@ -1,55 +1,55 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> - <refentry id="function.popen"> - <refnamediv> - <refname>popen</refname> - <refpurpose>´ò¿ª½ø³ÌÎļþÖ¸Õë</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>resource</type><methodname>popen</methodname> - <methodparam><type>string</type><parameter>command</parameter></methodparam> - <methodparam><type>string</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - ´ò¿ªÒ»¸öÖ¸Ïò½ø³ÌµÄ¹ÜµÀ£¬¸Ã½ø³ÌÓÉÅÉÉú¸ø¶¨µÄ <parameter>command</parameter> ÃüÁîÖ´Ðжø²úÉú¡£ - </para> - <para> - ·µ»ØÒ»¸öºÍ <function>fopen</function> - Ëù·µ»ØµÄÏàͬµÄÎļþÖ¸Õ룬ֻ²»¹ýËüÊǵ¥ÏòµÄ£¨Ö»ÄÜÓÃÓÚ¶Á»òд£©²¢ÇÒ±ØÐëÓà - <function>pclose</function> À´¹Ø±Õ¡£´ËÖ¸Õë¿ÉÒÔÓÃÓÚ - <function>fgets</function>£¬<function>fgetss</function> ºÍ - <function>fwrite</function>¡£ - </para> - <para> - Èç¹û³ö´í·µ»Ø &false;¡£ - </para> - <note> - <para> - Èç¹ûÐèҪ˫ÏòÖ§³Ö£¬Ê¹Óà <function>proc_open</function>¡£ - </para> - </note> - <para> - <example> - <title><function>popen</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.popen"> + <refnamediv> + <refname>popen</refname> + <refpurpose>´ò¿ª½ø³ÌÎļþÖ¸Õë</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>resource</type><methodname>popen</methodname> + <methodparam><type>string</type><parameter>command</parameter></methodparam> + <methodparam><type>string</type><parameter>mode</parameter></methodparam> + </methodsynopsis> + <para> + ´ò¿ªÒ»¸öÖ¸Ïò½ø³ÌµÄ¹ÜµÀ£¬¸Ã½ø³ÌÓÉÅÉÉú¸ø¶¨µÄ <parameter>command</parameter> ÃüÁîÖ´Ðжø²úÉú¡£ + </para> + <para> + ·µ»ØÒ»¸öºÍ <function>fopen</function> + Ëù·µ»ØµÄÏàͬµÄÎļþÖ¸Õ룬ֻ²»¹ýËüÊǵ¥ÏòµÄ£¨Ö»ÄÜÓÃÓÚ¶Á»òд£©²¢ÇÒ±ØÐëÓà + <function>pclose</function> À´¹Ø±Õ¡£´ËÖ¸Õë¿ÉÒÔÓÃÓÚ + <function>fgets</function>£¬<function>fgetss</function> ºÍ + <function>fwrite</function>¡£ + </para> + <para> + Èç¹û³ö´í·µ»Ø &false;¡£ + </para> + <note> + <para> + Èç¹ûÐèҪ˫ÏòÖ§³Ö£¬Ê¹Óà <function>proc_open</function>¡£ + </para> + </note> + <para> + <example> + <title><function>popen</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $handle = popen("/bin/ls", "r"); ?> ]]> - </programlisting> - </example> - </para> - <note> - <para> - Èç¹ûδÕÒµ½ÒªÖ´ÐеÄÃüÁ»á·µ»ØÒ»¸öºÏ·¨µÄ×ÊÔ´¡£Õâ¿´ÉÏÈ¥ºÜ¹Ö£¬µ«ÓеÀÀí¡£ËüÔÊÐíÄã·ÃÎÊ - shell ·µ»ØµÄÈκδíÎóÐÅÏ¢£º - <informalexample> - <programlisting role="php"> + </programlisting> + </example> + </para> + <note> + <para> + Èç¹ûδÕÒµ½ÒªÖ´ÐеÄÃüÁ»á·µ»ØÒ»¸öºÏ·¨µÄ×ÊÔ´¡£Õâ¿´ÉÏÈ¥ºÜ¹Ö£¬µ«ÓеÀÀí¡£ËüÔÊÐí·ÃÎÊ + shell ·µ»ØµÄÈκδíÎóÐÅÏ¢£º + <informalexample> + <programlisting role="php"> <![CDATA[ <?php error_reporting(E_ALL); @@ -62,18 +62,18 @@ pclose($handle); ?> ]]> - </programlisting> - </informalexample> - </para> - </note> - ¬e.exec-path; - &warn.sm.exec; - <para> - ²Î¼û <function>pclose</function>£¬<function>fopen</function> ºÍ - <function>proc_open</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </informalexample> + </para> + </note> + ¬e.exec-path; + &warn.sm.exec; + <para> + ²Î¼û <function>pclose</function>£¬<function>fopen</function> ºÍ + <function>proc_open</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: