cvs: phpdoc-zh /reference/filesystem/functions fclose.xml feof.xml fflush.xml fgetss.xml file.xml filectime.xml filegroup.xml fileinode.xml
filemtime.xml fileowner.xml

From: Date: Mon, 19 Sep 2005 16:31:23 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions fclose.xml feof.xml fflush.xml fgetss.xml file.xml filectime.xml filegroup.xml fileinode.xml
filemtime.xml fileowner.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2667@lists.php.net to get a copy of this message
dallas Mon Sep 19 12:31:23 2005 EDT Modified files: /phpdoc-zh/reference/filesystem/functions fclose.xml feof.xml fflush.xml fgetss.xml file.xml filectime.xml filegroup.xml fileinode.xml filemtime.xml fileowner.xml Log: WS fix.

http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fclose.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/fclose.xml diff -u phpdoc-zh/reference/filesystem/functions/fclose.xml:1.6 phpdoc-zh/reference/filesystem/functions/fclose.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/fclose.xml:1.6 Mon Feb 24 04:14:09 2003 +++ phpdoc-zh/reference/filesystem/functions/fclose.xml Mon Sep 19 12:31:22 2005 @@ -1,44 +1,44 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> - <refentry id="function.fclose"> - <refnamediv> - <refname>fclose</refname> - <refpurpose>¹Ø±ÕÒ»¸öÒÑ´ò¿ªµÄÎļþÖ¸Õë</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>fclose</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - </methodsynopsis> - <para> - ½« <parameter>handle</parameter> Ö¸ÏòµÄÎļþ¹Ø±Õ¡£ - </para> - <para> - &return.success; - </para> - <para> - ÎļþÖ¸Õë±ØÐëÓÐЧ£¬²¢ÇÒÊÇͨ¹ý - <function>fopen</function> »ò - <function>fsockopen</function> ³É¹¦´ò¿ªµÄ¡£ - </para> - <para> - <example> - <title>Ò»¸ö¼òµ¥ <function>fclose</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.fclose"> + <refnamediv> + <refname>fclose</refname> + <refpurpose>¹Ø±ÕÒ»¸öÒÑ´ò¿ªµÄÎļþÖ¸Õë</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>fclose</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + </methodsynopsis> + <para> + ½« <parameter>handle</parameter> Ö¸ÏòµÄÎļþ¹Ø±Õ¡£ + </para> + <para> + &return.success; + </para> + <para> + ÎļþÖ¸Õë±ØÐëÓÐЧ£¬²¢ÇÒÊÇͨ¹ý + <function>fopen</function> »ò + <function>fsockopen</function> ³É¹¦´ò¿ªµÄ¡£ + </para> + <para> + <example> + <title>Ò»¸ö¼òµ¥ <function>fclose</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $handle = fopen('somefile.txt', 'r'); fclose($handle); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </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/feof.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/feof.xml diff -u phpdoc-zh/reference/filesystem/functions/feof.xml:1.5 phpdoc-zh/reference/filesystem/functions/feof.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/feof.xml:1.5 Tue Aug 16 09:58:01 2005 +++ phpdoc-zh/reference/filesystem/functions/feof.xml Mon Sep 19 12:31:22 2005 @@ -1,32 +1,32 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> - <refentry id="function.feof"> - <refnamediv> - <refname>feof</refname> - <refpurpose>²âÊÔÎļþÖ¸ÕëÊÇ·ñµ½ÁËÎļþ½áÊøµÄλÖÃ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>feof</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - </methodsynopsis> - <para> - Èç¹ûÎļþÖ¸Õëµ½ÁË EOF »òÕß³ö´íʱÔò·µ»Ø &true;£¬·ñÔò·µ»ØÒ»¸ö´íÎ󣨰üÀ¨ socket - ³¬Ê±£©£¬ÆäËüÇé¿öÔò·µ»Ø &false;¡£ - </para> - <warning> - <simpara> - Èç¹û·þÎñÆ÷ûÓйرÕÓÉ <function>fsockopen</function> Ëù´ò¿ªµÄÁ¬½Ó£¬<function>feof</function> - »áÒ»Ö±µÈ´ýÖ±µ½³¬Ê±¶ø·µ»Ø &true;¡£Ä¬Èϵij¬Ê±ÏÞÖÆÊÇ 60 Ã룬¿ÉÒÔʹÓà - <function>stream_set_timeout</function> À´¸Ä±äÕâ¸öÖµ¡£ - </simpara> - </warning> - &fs.validfp.all; - </refsect1> - </refentry> +<refentry id="function.feof"> + <refnamediv> + <refname>feof</refname> + <refpurpose>²âÊÔÎļþÖ¸ÕëÊÇ·ñµ½ÁËÎļþ½áÊøµÄλÖÃ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>feof</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + </methodsynopsis> + <para> + Èç¹ûÎļþÖ¸Õëµ½ÁË EOF »òÕß³ö´íʱÔò·µ»Ø &true;£¬·ñÔò·µ»ØÒ»¸ö´íÎ󣨰üÀ¨ socket + ³¬Ê±£©£¬ÆäËüÇé¿öÔò·µ»Ø &false;¡£ + </para> + <warning> + <simpara> + Èç¹û·þÎñÆ÷ûÓйرÕÓÉ <function>fsockopen</function> Ëù´ò¿ªµÄÁ¬½Ó£¬<function>feof</function> + »áÒ»Ö±µÈ´ýÖ±µ½³¬Ê±¶ø·µ»Ø &true;¡£Ä¬Èϵij¬Ê±ÏÞÖÆÊÇ 60 Ã룬¿ÉÒÔʹÓà + <function>stream_set_timeout</function> À´¸Ä±äÕâ¸öÖµ¡£ + </simpara> + </warning> + &fs.validfp.all; + </refsect1> +</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.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/fflush.xml diff -u phpdoc-zh/reference/filesystem/functions/fflush.xml:1.5 phpdoc-zh/reference/filesystem/functions/fflush.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/fflush.xml:1.5 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/fflush.xml Mon Sep 19 12:31:22 2005 @@ -1,26 +1,26 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.fflush"> - <refnamediv> - <refname>fflush</refname> - <refpurpose>½«»º³åÄÚÈÝÊä³öµ½Îļþ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>bool</type><methodname>fflush</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - </methodsynopsis> - <para> - ±¾º¯ÊýÇ¿ÖÆ½«ËùÓлº³åµÄÊä³öдÈë - <parameter>handle</parameter> Îļþ¾ä±úËùÖ¸ÏòµÄ×ÊÔ´¡£ - &return.success; - </para> - &fs.validfp.all; - </refsect1> - </refentry> +<refentry id="function.fflush"> + <refnamediv> + <refname>fflush</refname> + <refpurpose>½«»º³åÄÚÈÝÊä³öµ½Îļþ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>bool</type><methodname>fflush</methodname> + <methodparam><type>resource</type><parameter>handle</parameter></methodparam> + </methodsynopsis> + <para> + ±¾º¯ÊýÇ¿ÖÆ½«ËùÓлº³åµÄÊä³öдÈë + <parameter>handle</parameter> Îļþ¾ä±úËùÖ¸ÏòµÄ×ÊÔ´¡£ + &return.success; + </para> + &fs.validfp.all; + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fgetss.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/fgetss.xml diff -u phpdoc-zh/reference/filesystem/functions/fgetss.xml:1.6 phpdoc-zh/reference/filesystem/functions/fgetss.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/fgetss.xml:1.6 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/fgetss.xml Mon Sep 19 12:31:22 2005 @@ -1,42 +1,42 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.7 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.fgetss"> - <refnamediv> - <refname>fgetss</refname> - <refpurpose>´ÓÎļþÖ¸ÕëÖжÁȡһÐв¢¹ýÂ˵ô HTML ±ê¼Ç</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>string</type><methodname>fgetss</methodname> - <methodparam><type>resource</type><parameter>handle</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>allowable_tags</parameter></methodparam> - </methodsynopsis> +<refentry id="function.fgetss"> + <refnamediv> + <refname>fgetss</refname> + <refpurpose>´ÓÎļþÖ¸ÕëÖжÁȡһÐв¢¹ýÂ˵ô HTML ±ê¼Ç</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>string</type><methodname>fgetss</methodname> + <methodparam><type>resource</type><parameter>handle</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> + ºÍ <function>fgets</function> Ïàͬ£¬Ö»³ýÁË fgetss ³¢ÊÔ´Ó¶ÁÈ¡µÄÎı¾ÖÐÈ¥µôÈκΠ+ HTML ºÍ PHP ±ê¼Ç¡£ + </para> + <para> + ¿ÉÒÔÓÿÉÑ¡µÄµÚÈý¸ö²ÎÊýÖ¸¶¨ÄÄЩ±ê¼Ç²»±»È¥µô¡£ + <note> <para> - ºÍ <function>fgets</function> Ïàͬ£¬Ö»³ýÁË fgetss ³¢ÊÔ´Ó¶ÁÈ¡µÄÎı¾ÖÐÈ¥µôÈκΠ- HTML ºÍ PHP ±ê¼Ç¡£ + <parameter>allowable_tags</parameter> ÊÇ PHP 3.0.13£¬PHP 4.0.0 мӵġ£ </para> - <para> - ¿ÉÒÔÓÿÉÑ¡µÄµÚÈý¸ö²ÎÊýÖ¸¶¨ÄÄЩ±ê¼Ç²»±»È¥µô¡£ - <note> - <para> - <parameter>allowable_tags</parameter> ÊÇ PHP 3.0.13£¬PHP 4.0.0 мӵġ£ - </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> - ºÍ <function>strip_tags</function>¡£ - </para> - </refsect1> - </refentry> + </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> + ºÍ <function>strip_tags</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/file.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-zh/reference/filesystem/functions/file.xml diff -u phpdoc-zh/reference/filesystem/functions/file.xml:1.7 phpdoc-zh/reference/filesystem/functions/file.xml:1.8 --- phpdoc-zh/reference/filesystem/functions/file.xml:1.7 Tue Aug 16 00:47:18 2005 +++ phpdoc-zh/reference/filesystem/functions/file.xml Mon Sep 19 12:31:22 2005 @@ -1,32 +1,32 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.7 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.8 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.16 Maintainer: dallas Status: ready --> - <refentry id="function.file"> - <refnamediv> - <refname>file</refname> - <refpurpose>°ÑÕû¸öÎļþ¶ÁÈëÒ»¸öÊý×éÖÐ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>array</type><methodname>file</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam> - <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> - </methodsynopsis> - <para> - ºÍ <function>readfile</function> Ò»Ñù£¬Ö»³ýÁË <function>file</function> - ½«Îļþ×÷Ϊһ¸öÊý×é·µ»Ø¡£Êý×éÖеÄÿ¸öµ¥Ôª¶¼ÊÇÎļþÖÐÏàÓ¦µÄÒ»ÐУ¬°üÀ¨»»ÐзûÔÚÄÚ¡£Èç¹ûʧ°Ü - <function>file</function> ·µ»Ø &false;¡£ - </para> - <para> - Èç¹ûÒ²ÏëÔÚ <link linkend="ini.include-path">include_path</link> - ÖÐËÑѰÎļþµÄ»°£¬¿ÉÒÔ½«¿ÉÑ¡²ÎÊý <parameter>use_include_path</parameter> ÉèΪ "1"¡£ - </para> - <para> - <informalexample> - <programlisting role="php"> +<refentry id="function.file"> + <refnamediv> + <refname>file</refname> + <refpurpose>°ÑÕû¸öÎļþ¶ÁÈëÒ»¸öÊý×éÖÐ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>array</type><methodname>file</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> + </methodsynopsis> + <para> + ºÍ <function>readfile</function> Ò»Ñù£¬Ö»³ýÁË <function>file</function> + ½«Îļþ×÷Ϊһ¸öÊý×é·µ»Ø¡£Êý×éÖеÄÿ¸öµ¥Ôª¶¼ÊÇÎļþÖÐÏàÓ¦µÄÒ»ÐУ¬°üÀ¨»»ÐзûÔÚÄÚ¡£Èç¹ûʧ°Ü + <function>file</function> ·µ»Ø &false;¡£ + </para> + <para> + Èç¹ûÒ²ÏëÔÚ <link linkend="ini.include-path">include_path</link> + ÖÐËÑѰÎļþµÄ»°£¬¿ÉÒÔ½«¿ÉÑ¡²ÎÊý <parameter>use_include_path</parameter> ÉèΪ "1"¡£ + </para> + <para> + <informalexample> + <programlisting role="php"> <![CDATA[ <?php // ½«Ò»¸öÎļþ¶ÁÈëÊý×é¡£±¾ÀýÖÐͨ¹ý HTTP ´Ó URL ÖÐÈ¡µÃ HTML Ô´Îļþ¡£ @@ -39,34 +39,34 @@ $html = implode('', file ('http://www.example.com/')); ?> ]]> - </programlisting> - </informalexample> - &tip.fopen-wrapper; - <note> - <para> - ·µ»ØµÄÊý×éÖÐÿһÐж¼°üÀ¨ÁËÐнáÊø·û£¬Òò´ËÈç¹û²»ÐèÒªÐнáÊø·ûʱ»¹ÐèҪʹÓà - <function>rtrim</function> º¯Êý¡£ - </para> - </note> - &note.line-endings; - </para> - <note> - <para> - ´Ó PHP 4.3.0 ¿ªÊ¼¿ÉÒÔÓà <function>file_get_contents</function> - À´½«Îļþ¶ÁÈëµ½Ò»¸ö×Ö·û´®·µ»Ø¡£ - </para> - <para> - ´Ó PHP 4.3.0 ¿ªÊ¼ <function>file</function> ¿ÉÒÔ°²È«ÓÃÓÚ¶þ½øÖÆÎļþ¡£ - </para> - </note> - &note.context-support; - &warn.ssl-non-standard; + </programlisting> + </informalexample> + &tip.fopen-wrapper; + <note> <para> - ²Î¼û <function>readfile</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function>£¬<function>file_get_contents</function> - ºÍ <function>include</function>¡£ + ·µ»ØµÄÊý×éÖÐÿһÐж¼°üÀ¨ÁËÐнáÊø·û£¬Òò´ËÈç¹û²»ÐèÒªÐнáÊø·ûʱ»¹ÐèҪʹÓà + <function>rtrim</function> º¯Êý¡£ </para> - </refsect1> - </refentry> + </note> + &note.line-endings; + </para> + <note> + <para> + ´Ó PHP 4.3.0 ¿ªÊ¼¿ÉÒÔÓà <function>file_get_contents</function> + À´½«Îļþ¶ÁÈëµ½Ò»¸ö×Ö·û´®·µ»Ø¡£ + </para> + <para> + ´Ó PHP 4.3.0 ¿ªÊ¼ <function>file</function> ¿ÉÒÔ°²È«ÓÃÓÚ¶þ½øÖÆÎļþ¡£ + </para> + </note> + &note.context-support; + &warn.ssl-non-standard; + <para> + ²Î¼û <function>readfile</function>£¬<function>fopen</function>£¬<function>fsockopen</function>£¬<function>popen</function>£¬<function>file_get_contents</function> + ºÍ <function>include</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/filectime.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/filectime.xml diff -u phpdoc-zh/reference/filesystem/functions/filectime.xml:1.5 phpdoc-zh/reference/filesystem/functions/filectime.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/filectime.xml:1.5 Tue Aug 16 00:42:21 2005 +++ phpdoc-zh/reference/filesystem/functions/filectime.xml Mon Sep 19 12:31:22 2005 @@ -1,38 +1,38 @@ <?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.filectime"> - <refnamediv> - <refname>filectime</refname> - <refpurpose>È¡µÃÎļþµÄ inode ÐÞ¸Äʱ¼ä</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>filectime</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - ·µ»ØÎļþÉÏ´Î inode ±»Ð޸ĵÄʱ¼ä£¬Èç¹û³ö´íÔò·µ»Ø &false;¡£Ê±¼äÒÔ Unix ʱ¼ä´ÁµÄ·½Ê½·µ»Ø¡£ - </para> - <para> - ×¢Ò⣺ÔÚ´ó¶àÊý Unix ÎļþϵͳÖУ¬µ±Ò»¸öÎļþµÄ inode - Êý¾Ý±»¸Ä±äʱÔò¸ÃÎļþ±»ÈÏΪÊÇÐÞ¸ÄÁË¡£Ò²¾ÍÊÇ˵£¬µ±ÎļþµÄȨÏÞ£¬ËùÓÐÕߣ¬ËùÓÐ×é»òÆäËü - inode ÖеÄÔªÊý¾Ý±»¸üÐÂʱ¡£²Î¼û - <function>filemtime</function>£¨Õâ²ÅÊÇÄãÏëÓÃÓÚÔÚ web - Ò³ÃæÖн¨Á¢¡°×îºó¸üÐÂʱ¼ä¡±½Å×¢µÄº¯Êý£©ºÍ <function>fileatime</function>¡£ - </para> - <para> - ×¢ÒâijЩ Unix ˵Ã÷Îı¾ÖÐ°Ñ ctime ˵³ÉÊǸÃÎļþ½¨Á¢µÄʱ¼ä£¬ÕâÊÇ´íµÄ¡£ÔÚ´ó¶àÊý - Unix ÎļþϵͳÖÐûÓÐ Unix ÎļþµÄ½¨Á¢Ê±¼ä¡£ - </para> - &note.clearstatcache; - &tip.fopen-wrapper.stat; - <para> - <example> - <title>Ò»¸ö <function>fileatime</function> µÄÀý×Ó</title> - <programlisting role="php"> +<refentry id="function.filectime"> + <refnamediv> + <refname>filectime</refname> + <refpurpose>È¡µÃÎļþµÄ inode ÐÞ¸Äʱ¼ä</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>filectime</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + ·µ»ØÎļþÉÏ´Î inode ±»Ð޸ĵÄʱ¼ä£¬Èç¹û³ö´íÔò·µ»Ø &false;¡£Ê±¼äÒÔ Unix ʱ¼ä´ÁµÄ·½Ê½·µ»Ø¡£ + </para> + <para> + ×¢Ò⣺ÔÚ´ó¶àÊý Unix ÎļþϵͳÖУ¬µ±Ò»¸öÎļþµÄ inode + Êý¾Ý±»¸Ä±äʱÔò¸ÃÎļþ±»ÈÏΪÊÇÐÞ¸ÄÁË¡£Ò²¾ÍÊÇ˵£¬µ±ÎļþµÄȨÏÞ£¬ËùÓÐÕߣ¬ËùÓÐ×é»òÆäËü + inode ÖеÄÔªÊý¾Ý±»¸üÐÂʱ¡£²Î¼û + <function>filemtime</function>£¨Õâ²ÅÊÇÄãÏëÓÃÓÚÔÚ Web + Ò³ÃæÖн¨Á¢¡°×îºó¸üÐÂʱ¼ä¡±½Å×¢µÄº¯Êý£©ºÍ <function>fileatime</function>¡£ + </para> + <para> + ×¢ÒâijЩ Unix ˵Ã÷Îı¾ÖÐ°Ñ ctime ˵³ÉÊǸÃÎļþ½¨Á¢µÄʱ¼ä£¬ÕâÊÇ´íµÄ¡£ÔÚ´ó¶àÊý + Unix ÎļþϵͳÖÐûÓÐ Unix ÎļþµÄ½¨Á¢Ê±¼ä¡£ + </para> + &note.clearstatcache; + &tip.fopen-wrapper.stat; + <para> + <example> + <title>Ò»¸ö <function>fileatime</function> µÄÀý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php @@ -45,14 +45,14 @@ ?> ]]> - </programlisting> - </example> - </para> - <simpara> - ²Î¼û <function>filemtime</function>¡£ - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <simpara> + ²Î¼û <function>filemtime</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/filegroup.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/filegroup.xml diff -u phpdoc-zh/reference/filesystem/functions/filegroup.xml:1.4 phpdoc-zh/reference/filesystem/functions/filegroup.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/filegroup.xml:1.4 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/filegroup.xml Mon Sep 19 12:31:22 2005 @@ -1,36 +1,34 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> - <refentry id="function.filegroup"> - <refnamediv> - <refname>filegroup</refname> - <refpurpose>È¡µÃÎļþµÄ×é</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>filegroup</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - È¡µÃ¸ÃÎļþËùÊô×éµÄ ID¡£Èç¹û³ö´íÔò·µ»Ø - &false;¡£×é ID ÒÔÊý×Ö¸ñʽ·µ»Ø£¬Óà - <function>posix_getgrgid</function> À´½«Æä½âÎöΪ×éÃû¡£Èç¹ûʧ°Ü·µ»Ø - &false; ÒÔ¼°Ò»¸ö <constant>E_WARNING</constant> ¼¶±ðµÄ´íÎó¡£ - </para> - <para> - ±¾º¯ÊýµÄ½á¹û»á±»»º´æ¡£ÏêϸÐÅÏ¢¼û <function>clearstatcache</function>¡£ - </para> - &note.clearstatcache; - - &tip.fopen-wrapper.stat; - - <simpara> - ²Î¼û <function>fileowner</function> ºÍ <link linkend="ini.safe-mode-gid">safe_mode_gid</link>¡£ - </simpara> - </refsect1> - </refentry> +<refentry id="function.filegroup"> + <refnamediv> + <refname>filegroup</refname> + <refpurpose>È¡µÃÎļþµÄ×é</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>filegroup</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + È¡µÃ¸ÃÎļþËùÊô×éµÄ ID¡£Èç¹û³ö´íÔò·µ»Ø + &false;¡£×é ID ÒÔÊý×Ö¸ñʽ·µ»Ø£¬Óà + <function>posix_getgrgid</function> À´½«Æä½âÎöΪ×éÃû¡£Èç¹ûʧ°Ü·µ»Ø + &false; ÒÔ¼°Ò»¸ö <constant>E_WARNING</constant> ¼¶±ðµÄ´íÎó¡£ + </para> + <para> + ±¾º¯ÊýµÄ½á¹û»á±»»º´æ¡£ÏêϸÐÅÏ¢¼û <function>clearstatcache</function>¡£ + </para> + &note.clearstatcache; + &tip.fopen-wrapper.stat; + <simpara> + ²Î¼û <function>fileowner</function> ºÍ <link linkend="ini.safe-mode-gid">safe_mode_gid</link>¡£ + </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/fileinode.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/fileinode.xml diff -u phpdoc-zh/reference/filesystem/functions/fileinode.xml:1.4 phpdoc-zh/reference/filesystem/functions/fileinode.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/fileinode.xml:1.4 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/fileinode.xml Mon Sep 19 12:31:22 2005 @@ -1,28 +1,28 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> - <refentry id="function.fileinode"> - <refnamediv> - <refname>fileinode</refname> - <refpurpose>È¡µÃÎļþµÄ inode</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>fileinode</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - ·µ»ØÎļþµÄ inode ½ÚµãºÅ£¬³ö´íʱ·µ»Ø &false;¡£ - </para> - &note.clearstatcache; - &tip.fopen-wrapper.stat; - <simpara> - ²Î¼û <function>stat</function>¡£ - </simpara> - </refsect1> - </refentry> +<refentry id="function.fileinode"> + <refnamediv> + <refname>fileinode</refname> + <refpurpose>È¡µÃÎļþµÄ inode</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>fileinode</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + ·µ»ØÎļþµÄ inode ½ÚµãºÅ£¬³ö´íʱ·µ»Ø &false;¡£ + </para> + &note.clearstatcache; + &tip.fopen-wrapper.stat; + <simpara> + ²Î¼û <function>stat</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/filemtime.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/filemtime.xml diff -u phpdoc-zh/reference/filesystem/functions/filemtime.xml:1.5 phpdoc-zh/reference/filesystem/functions/filemtime.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/filemtime.xml:1.5 Mon Aug 1 11:31:28 2005 +++ phpdoc-zh/reference/filesystem/functions/filemtime.xml Mon Sep 19 12:31:22 2005 @@ -1,31 +1,31 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> - <refentry id="function.filemtime"> - <refnamediv> - <refname>filemtime</refname> - <refpurpose>È¡µÃÎļþÐÞ¸Äʱ¼ä</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>filemtime</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - ·µ»ØÎļþÉϴα»Ð޸ĵÄʱ¼ä£¬³ö´íʱ·µ»Ø &false;¡£Ê±¼äÒÔ Unix ʱ¼ä´ÁµÄ·½Ê½·µ»Ø£¬¿ÉÓÃÓÚ - <function>date</function>¡£ - </para> - &note.clearstatcache; - &tip.fopen-wrapper.stat; - <para> - ±¾º¯Êý·µ»ØÎļþÖеÄÊý¾Ý¿éÉϴα»Ð´ÈëµÄʱ¼ä£¬Ò²¾ÍÊÇ˵£¬ÎļþµÄÄÚÈÝÉϴα»Ð޸ĵÄʱ¼ä¡£ - </para> - <para> - <example> - <title><function>filemtime</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.filemtime"> + <refnamediv> + <refname>filemtime</refname> + <refpurpose>È¡µÃÎļþÐÞ¸Äʱ¼ä</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>filemtime</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + ·µ»ØÎļþÉϴα»Ð޸ĵÄʱ¼ä£¬³ö´íʱ·µ»Ø &false;¡£Ê±¼äÒÔ Unix ʱ¼ä´ÁµÄ·½Ê½·µ»Ø£¬¿ÉÓÃÓÚ + <function>date</function>¡£ + </para> + &note.clearstatcache; + &tip.fopen-wrapper.stat; + <para> + ±¾º¯Êý·µ»ØÎļþÖеÄÊý¾Ý¿éÉϴα»Ð´ÈëµÄʱ¼ä£¬Ò²¾ÍÊÇ˵£¬ÎļþµÄÄÚÈÝÉϴα»Ð޸ĵÄʱ¼ä¡£ + </para> + <para> + <example> + <title><function>filemtime</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php // outputs e.g. somefile.txt was last modified: December 29 2002 22:16:23. @@ -36,15 +36,15 @@ } ?> ]]> - </programlisting> - </example> - </para> - <para> - ²Î¼û <function>filectime</function>£¬<function>stat</function>£¬<function>touch</function> - ºÍ <function>getlastmod</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + ²Î¼û <function>filectime</function>£¬<function>stat</function>£¬<function>touch</function> + ºÍ <function>getlastmod</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/fileowner.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/fileowner.xml diff -u phpdoc-zh/reference/filesystem/functions/fileowner.xml:1.4 phpdoc-zh/reference/filesystem/functions/fileowner.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/fileowner.xml:1.4 Fri Jul 15 13:17:27 2005 +++ phpdoc-zh/reference/filesystem/functions/fileowner.xml Mon Sep 19 12:31:22 2005 @@ -1,30 +1,30 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> - <refentry id="function.fileowner"> - <refnamediv> - <refname>fileowner</refname> - <refpurpose>È¡µÃÎļþµÄËùÓÐÕß</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>fileowner</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - ·µ»ØÎļþËùÓеÄÓû§ ID£¬Èç¹û³ö´íÔò·µ»Ø &false;¡£Óû§ - ID ÒÔÊý×Ö¸ñʽ·µ»Ø£¬Óà - <function>posix_getpwuid</function> À´½«Æä½âÎöΪÓû§Ãû¡£ - </para> - &note.clearstatcache; - &tip.fopen-wrapper.stat; - <simpara> - ²Î¼û <function>stat</function>¡£ - </simpara> - </refsect1> - </refentry> +<refentry id="function.fileowner"> + <refnamediv> + <refname>fileowner</refname> + <refpurpose>È¡µÃÎļþµÄËùÓÐÕß</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>fileowner</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + ·µ»ØÎļþËùÓеÄÓû§ ID£¬Èç¹û³ö´íÔò·µ»Ø &false;¡£Óû§ + ID ÒÔÊý×Ö¸ñʽ·µ»Ø£¬Óà + <function>posix_getpwuid</function> À´½«Æä½âÎöΪÓû§Ãû¡£ + </para> + &note.clearstatcache; + &tip.fopen-wrapper.stat; + <simpara> + ²Î¼û <function>stat</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc.zh (#2667) next »