cvs: phpdoc-zh /reference/ftp/functions ftp-close.xml
| From: | Dallas Thunder | Date: | Sat, 11 Feb 2006 21:28:56 +0000 |
| Subject: | cvs: phpdoc-zh /reference/ftp/functions ftp-close.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2785@lists.php.net to get a copy of this message | ||
dallas Sat Feb 11 21:28:56 2006 UTC
Modified files:
/phpdoc-zh/reference/ftp/functions ftp-close.xml
Log:
Updated.
http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/ftp/functions/ftp-close.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-zh/reference/ftp/functions/ftp-close.xml
diff -u phpdoc-zh/reference/ftp/functions/ftp-close.xml:1.3
phpdoc-zh/reference/ftp/functions/ftp-close.xml:1.4
--- phpdoc-zh/reference/ftp/functions/ftp-close.xml:1.3 Sun Nov 10 01:22:58 2002
+++ phpdoc-zh/reference/ftp/functions/ftp-close.xml Sat Feb 11 21:28:55 2006
@@ -1,29 +1,85 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.3 $ -->
-<!-- splitted from ./en/functions/ftp.xml, last change in rev 1.34 -->
-<!-- $Author: lm92 $ -->
-<!-- EN-Revision: 1.4 Maintainer: Avenger Status: ready -->
- <refentry id="function.ftp-close">
- <refnamediv>
- <refname>ftp_close</refname>
- <refpurpose>¹Ø±ÕÒ»¸ö»î¶¯µÄ FTP Á¬½Ó</refpurpose>
- </refnamediv>
- <refsect1>
- <title>ÃèÊö</title>
- <methodsynopsis>
- <type>void</type><methodname>ftp_close</methodname>
-
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
- </methodsynopsis>
- <simpara>
- <function>ftp_close</function> ¹Ø±ÕÒ»¸öÓɲÎÊý
<parameter>ftp_stream</parameter>
-
Ö¸¶¨µÄÁ¬½Ó²¢ÊÍ·ÅËùÕ¼ÓõÄ×ÊÔ´¡£Ê¹Óô˺¯ÊýºóÄ㽫²»ÄÜÔÙʹÓõ±Ç°µÄ
FTP Á¬½Ó£¬Èç¹ûÒª½øÐÐÏà¹Ø²Ù×÷£¬±ØÐëÔÙ´ÎʹÓÃ
- <function>ftp_connect</function> º¯ÊýÀ´½¨Á¢Ò»¸öеÄÁ¬½Ó¡£
- </simpara>
- <simpara>
- ²Î¿¼º¯Êý <function>ftp_connect</function>¡£
- </simpara>
- </refsect1>
- </refentry>
+<!-- $Revision: 1.4 $ -->
+<!-- $Author: dallas $ -->
+<!-- EN-Revision: 1.7 Maintainer: Avenger Status: ready -->
+<!-- CREDITS: dallas -->
+<refentry id="function.ftp-close">
+ <refnamediv>
+ <refname>ftp_close</refname>
+ <refpurpose>¹Ø±ÕÒ»¸ö FTP Á¬½Ó</refpurpose>
+ </refnamediv>
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>bool</type><methodname>ftp_close</methodname>
+
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ <function>ftp_close</function>
¹Ø±Õ¸ø³öµÄÁ¬½Ó±êʶ·û²¢ÊÍ·Å×ÊÔ´¡£
+ </para>
+ <note>
+ <para>
+ µ÷Óñ¾º¯Êýºó£¬½«²»ÄÜÔÙʹÓà FTP Á¬½Ó£¬±ØÐëÓÃ
+ <function>ftp_connect</function> ½¨Á¢Ò»¸öÐÂÁ¬½Ó¡£
+ </para>
+ </note>
+ </refsect1>
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>ftp_stream</parameter></term>
+ <listitem>
+ <para>
+ FTP Á¬½ÓµÄ±êʶ·û¡£
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.success;
+ </para>
+ </refsect1>
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>ftp_close</function> Àý×Ó</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+// set up basic connection
+$conn_id = ftp_connect($ftp_server);
+
+// login with username and password
+$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
+
+// print the current directory
+echo ftp_pwd($conn_id); // /
+
+// close this connection
+ftp_close($conn_id);
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>ftp_connect</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: