cvs: phpdoc-zh /features remote-files.xml
| From: | Dallas Thunder | Date: | Fri, 27 Sep 2002 03:47:38 +0000 |
| Subject: | cvs: phpdoc-zh /features remote-files.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-653@lists.php.net to get a copy of this message | ||
dallas Thu Sep 26 23:47:38 2002 EDT
Modified files:
/phpdoc-zh/features remote-files.xml
Log:
Update with EN ver.
Index: phpdoc-zh/features/remote-files.xml
diff -u phpdoc-zh/features/remote-files.xml:1.8 phpdoc-zh/features/remote-files.xml:1.9
--- phpdoc-zh/features/remote-files.xml:1.8 Thu Sep 26 05:16:03 2002
+++ phpdoc-zh/features/remote-files.xml Thu Sep 26 23:47:38 2002
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="gb2312"?>
<!-- $Revision: 1.7 $ -->
<!-- $Author: gregory$ -->
-<!-- EN-Revision: 1.20 Maintainer: thomaslio Status: ready -->
+<!-- EN-Revision: 1.21 Maintainer: thomaslio Status: ready -->
<!-- CREDITS: Gregory -->
<chapter id="features.remote-files">
<title>ʹÓÃÔ¶³ÌÎļþ</title>
<para>
Ö»ÒªÔÚ &php.ini; ÎļþÖ줻îÁË
<parameter>allow_url_fopen</parameter>
Ñ¡ÏÄú¿ÉÒÔÔÚ´ó¶àÊýÐèÒªÓÃÎļþÃû×÷Ϊ²ÎÊýµÄº¯ÊýÖÐʹÓÃ
HTTP ºÍ FTP URL À´´úÌæÎļþÃû¡£Í¬Ê±£¬ÄúÒ²¿ÉÒÔÔÚ
<function>include</function>¡¢<function>include_once</function>¡¢<function>require</function>
¼°
- <function>require_once</function> Óï¾äÖÐʹÓà URL¡£
+ <function>require_once</function> Óï¾äÖÐʹÓÃ
URL¡£<literal>PHP</literal>
+ ËùÖ§³ÖÐÒéµÄ¸ü¶àÐÅÏ¢²Î¼û <xref linkend="wrappers"/>¡£
</para>
<para>
<note>
@@ -20,7 +21,9 @@
<para>
<note>
<para>
- Windows °æ±¾µÄ <literal>PHP</literal>
µ±Ç°²»Ö§³ÖÒÔϺ¯ÊýµÄÔ¶³Ì·ÃÎÊ£º<function>include</function>¡¢<function>include_once</function>¡¢
<function>require</function> ºÍ <function>require_once</function>¡£
+ Windows °æ±¾µÄ <literal>PHP</literal> 4.3
+
°æÖ®Ç°²»Ö§³ÖÒÔϺ¯ÊýµÄÔ¶³Ì·ÃÎÊ£º<function>include</function>£¬<function>include_once</function>£¬<function>require</function>£¬<function>require_once</function>
+ ÒÔ¼° <xref linkend="ref.image"/> À©Õ¹¿âÖÐµÄ imagecreatefromXXX
º¯Êý¡£
</para>
</note>
</para>
@@ -53,7 +56,7 @@
</example>
</para>
<para>
- Èç¹ûÄúÓÃÓкϷ¨µÄ·ÃÎÊȨÏÞ£¬ÒÔÒ»¸öÓû§µÄÉí·ÝºÍij FTP
·þÎñÆ÷½¨Á¢ÁËÁ´½Ó£¬Äú»¹¿ÉÒÔÏò¸Ã FTP
·þÎñÆ÷¶ËµÄÎļþ½øÐÐд²Ù×÷¡£Äú½öÄÜÓø÷½·¨À´´´½¨ÐµÄÎļþ£»Èç¹ûÄú³¢ÊÔ¸²¸ÇÒѾ´æÔÚµÄÎļþ£¬<function>fopen</function>
º¯ÊýµÄ²Ù×÷½«»áʧ°Ü¡£
+ Èç¹ûÄúÓÃÓкϷ¨µÄ·ÃÎÊȨÏÞ£¬ÒÔÒ»¸öÓû§µÄÉí·ÝºÍij FTP
·þÎñÆ÷½¨Á¢ÁËÁ´½Ó£¬Äú»¹¿ÉÒÔÏò¸Ã FTP
·þÎñÆ÷¶ËµÄÎļþ½øÐÐд²Ù×÷¡£Äú½öÄÜÓø÷½·¨À´´´½¨ÐµÄÎļþ£»Èç¹ûÄú³¢ÊÔ¸²¸ÇÒѾ´æÔÚµÄÎļþ£¬<function>fopen</function>
º¯ÊýµÄµ÷Óý«»áʧ°Ü¡£
</para>
<para>
ÒªÒÔ¡°anonymous¡±ÒÔÍâµÄÓû§ÃûÁ¬½Ó·þÎñÆ÷£¬ÄúÐèÒªÖ¸Ã÷Óû§Ãû£¨ÉõÖÁÃÜÂ룩£¬ÀýÈç¡°ftp://user:password@ftp.example.com/path/to/file¡±¡££¨Èç¹ûͨ¹ý
HTTP
ÐÒé·ÃÎÊÔ¶³ÌÎļþʱÐèÒª»ù±¾Éí·ÝÈÏÖ¤£¬ÄúÒ²¿ÉÒÔÓÃʹÓõÄÓï·¨¡££©