cvs: phpdoc-zh /reference/ftp configure.xml constants.xml reference.xml
| From: | bole Chen | Date: | Mon, 21 Apr 2008 08:38:32 +0000 |
| Subject: | cvs: phpdoc-zh /reference/ftp configure.xml constants.xml reference.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2992@lists.php.net to get a copy of this message | ||
avenger Mon Apr 21 08:38:32 2008 UTC
Modified files:
/phpdoc-zh/reference/ftp configure.xml constants.xml reference.xml
Log:
up to date
http://cvs.php.net/viewvc.cgi/phpdoc-zh/reference/ftp/configure.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-zh/reference/ftp/configure.xml
diff -u phpdoc-zh/reference/ftp/configure.xml:1.3 phpdoc-zh/reference/ftp/configure.xml:1.4
--- phpdoc-zh/reference/ftp/configure.xml:1.3 Sat Jun 23 13:32:45 2007
+++ phpdoc-zh/reference/ftp/configure.xml Mon Apr 21 08:38:32 2008
@@ -1,14 +1,12 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.3 $ -->
-<!-- $Author: bjori $ -->
-<!-- EN-Revision: 1.4 Maintainer: Avenger Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.5 Maintainer: Avenger Status: ready -->
<section xml:id="ftp.installation" xmlns="http://docbook.org/ns/docbook">
&reftitle.install;
<para>
ҪʹÓÃÕâЩ FTP Ïà¹Øº¯Êý£¬ÔÚ±àÒëµÄʱºòÇëÌí¼Ó
- <option role="configure">--enable-ftp</option>
Ñ¡Ïî(PHP4»òÒÔÉϰ汾)»òÕß
- <option role="configure">--with-ftp</option>(PHP3°æ±¾)¡£
+ <option role="configure">--enable-ftp</option> Ñ¡Ïî¡£
</para>
&windows.builtin;
</section>
http://cvs.php.net/viewvc.cgi/phpdoc-zh/reference/ftp/constants.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc-zh/reference/ftp/constants.xml
diff -u phpdoc-zh/reference/ftp/constants.xml:1.5 phpdoc-zh/reference/ftp/constants.xml:1.6
--- phpdoc-zh/reference/ftp/constants.xml:1.5 Sat Jun 23 13:32:45 2007
+++ phpdoc-zh/reference/ftp/constants.xml Mon Apr 21 08:38:32 2008
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.5 $ -->
-<!-- $Author: bjori $ -->
-<!-- EN-Revision: 1.6 Maintainer: Avenger Status: ready -->
-<section xml:id="ftp.constants" xmlns="http://docbook.org/ns/docbook">
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.7 Maintainer: Avenger Status: ready -->
+<appendix xml:id="ftp.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<variablelist>
@@ -53,7 +52,7 @@
</term>
<listitem>
<para>
- ²Î¿¼º¯Êý <function>ftp_set_option</function>¡£
+ ¸ü¶àÉèÖòο¼º¯Êý <function>ftp_set_option</function>¡£
</para>
</listitem>
</varlistentry>
@@ -119,7 +118,7 @@
</listitem>
</varlistentry>
</variablelist>
-</section>
+</appendix>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc-zh/reference/ftp/reference.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc-zh/reference/ftp/reference.xml
diff -u phpdoc-zh/reference/ftp/reference.xml:1.9 phpdoc-zh/reference/ftp/reference.xml:1.10
--- phpdoc-zh/reference/ftp/reference.xml:1.9 Mon Dec 10 17:13:43 2007
+++ phpdoc-zh/reference/ftp/reference.xml Mon Apr 21 08:38:32 2008
@@ -1,91 +1,10 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.9 $ -->
-<!-- $Author: bjori $ -->
-<!-- EN-Revision: 1.13 Maintainer: Avenger Status: ready -->
-<!-- Purpose: remote.other -->
+<!-- $Revision: 1.10 $ -->
+<!-- EN-Revision: 1.15 Maintainer: Avenger Status: ready -->
<!-- Membership: bundled -->
<reference xml:id="ref.ftp" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
- <title>FTP º¯Êý</title>
- <titleabbrev>FTP</titleabbrev>
-
- <partintro>
- <section xml:id="ftp.intro">
- &reftitle.intro;
- <para>
- FTP
º¯Êý¿ÉÒÔ°ïÖúʵÏÖ¿Í»§»úÓë·þÎñÆ÷Ö®¼ä±ê×¼Îļþ´«ËÍÐÒ飨FTP£©µÄ¹æ·¶½øÐÐÎļþ´«ËÍ¡£FTP
- µÄÏêϸ¶¨Òå²Î¼û <link
xlink:href="&url.rfc;959">&url.rfc;959</link>¡£´ËÀ©Õ¹¿âÓÃÀ´Ê¹ÔËÐеĽű¾¶Ô
- FTP ·þÎñÆ÷½øÐй㷺µÄ¿ØÖÆ¡£Èç¹ûÖ»ÏëÔÚÒ»¸ö
- FTP ·þÎñÆ÷É϶ÁдÎļþ£¬¿¼ÂÇʹÓÃ<link
- linkend="ref.filesystem">Îļþϵͳº¯Êý</link>ÖеÄ
- <link linkend="wrappers.ftp"><literal>ftp://</literal>
wrapper</link>£¬ËüÌṩÁ˼òµ¥ºÍ¸üÖ±¹ÛµÄ½Ó¿Ú¡£
- </para>
- </section>
-
- <section xml:id="ftp.requirements">
- &reftitle.required;
- &no.requirement;
- </section>
-
- &reference.ftp.configure;
-
- <section xml:id="ftp.configuration">
- &reftitle.runtime;
- &no.config;
- </section>
-
- <section xml:id="ftp.resources">
- &reftitle.resources;
- <para>
- ÔÚ FTP Ä£¿éÖÐʹÓÃÁËÒ»ÖÖ×ÊÔ´ÀàÐÍ£¬¸Ã×ÊÔ´ÀàÐÍΪ FTP
µÄÁ¬½Ó¾ä±ú£¬Óɺ¯Êý
- <function>ftp_connect</function> »ò
<function>ftp_ssl_connect</function> ²úÉú¡£
- </para>
- </section>
-
- &reference.ftp.constants;
-
- <section xml:id="ftp.examples">
- &reftitle.examples;
- <para>
- <example>
- <title>FTP Àý×Ó</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);
-
-// check connection
-if ((!$conn_id) || (!$login_result)) {
- echo "FTP connection has failed!";
- echo "Attempted to connect to $ftp_server for user $ftp_user_name";
- exit;
- } else {
- echo "Connected to $ftp_server, for user $ftp_user_name";
- }
-
-// upload the file
-$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);
-
-// check upload status
-if (!$upload) {
- echo "FTP upload has failed!";
- } else {
- echo "Uploaded $source_file to $ftp_server as $destination_file";
- }
-
-// close the FTP stream
-ftp_close($conn_id);
-?>
-]]>
- </programlisting>
- </example>
- </para>
- </section>
- </partintro>
+ <title>FTP &Functioins;</title>
&reference.ftp.entities.functions;