cvs: phpdoc-zh /features remote-files.xml
| From: | Gregory Song | Date: | Tue, 13 Aug 2002 03:04:59 +0000 |
| Subject: | cvs: phpdoc-zh /features remote-files.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-297@lists.php.net to get a copy of this message | ||
gregory Mon Aug 12 23:04:59 2002 EDT
Modified files:
/phpdoc-zh/features remote-files.xml
Log:
Translation Completed!
Index: phpdoc-zh/features/remote-files.xml
diff -u phpdoc-zh/features/remote-files.xml:1.4 phpdoc-zh/features/remote-files.xml:1.5
--- phpdoc-zh/features/remote-files.xml:1.4 Sat Aug 10 20:35:33 2002
+++ phpdoc-zh/features/remote-files.xml Mon Aug 12 23:04:58 2002
@@ -46,18 +46,11 @@
</example>
</para>
<para>
-
- You can also write to files on an FTP as long you connect as a user
- with the correct access rights, and the file doesn't exist already.
- To connect as a user other than 'anonymous', you need to specify
- the username (and possibly password) within the URL, such as
- 'ftp://user:password@ftp.example.com/path/to/file'.
(You can use the
- same sort of syntax to access files via HTTP when they require Basic
- authentication.)
+ Èç¹ûÄúÓÃÓкϷ¨µÄ·ÃÎÊȨÏÞ£¬ÒÔÒ»¸öÓû§µÄÉí·ÝºÍij FTP
·þÎñÆ÷½¨Á¢ÁËÁ´½Ó£¬Äú»¹¿ÉÒÔÏò¸Ã FTP
·þÎñÆ÷¶ËÉÐδÒѾ´æÔÚµÄÎļþ½øÐÐд²Ù×÷¡£ÒªÒÔ¡°anonymous¡±ÒÔÍâµÄÓû§ÃûÁ¬½Ó·þÎñÆ÷£¬ÄúÐèÒªÖ¸Ã÷Óû§Ãû£¨ÉõÖÁÃÜÂ룩£¬ÀýÈç¡°ftp://user:password@ftp.example.com/path/to/file¡±¡££¨Èç¹ûͨ¹ý
HTTP
ÐÒé·ÃÎÊÔ¶³ÌÎļþʱÐèÒª»ù±¾Éí·ÝÈÏÖ¤£¬ÄúÒ²¿ÉÒÔÓÃʹÓõÄÓï·¨¡££©
</para>
<para>
<example>
- <title>Storing data on a remote server</title>
+ <title>Ô¶³Ì·þÎñ¶ËµÄÊý¾ÝÅÅÐò</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -77,11 +70,7 @@
<para>
<note>
<para>
- You might get the idea from the example above to use this
- technique to write to a remote log, but as mentioned above, you
- can only write to a new file using the URL fopen() wrappers. To
- do distributed logging like that, you should take a look at
- <function>syslog</function>.
+
Äú»òÐí¿ÉÒÔ´ÓÒÔÉÏ·¶ÀýÖеõ½Æô·¢£¬Óøü¼ÊõÀ´´æ´¢Ô¶³ÌÈÕÖ¾Îļþ¡£µ«ÊÇÕýÈçÒÔÉÏÌáµ½µÄ£¬ÔÚÓÃ
fopen() ·½Ê½´ò¿ªµÄ URL
ÖУ¬Äú½öÄܶÔÐÂÎļþ½øÐÐд²Ù×÷¡£Òª½øÐÐÀàËÆµÄ·Ö²¼Ê½ÈÕÖ¾²Ù×÷£¬Äú¿ÉÒԲο¼
<function>syslog</function> º¯Êý¡£
</para>
</note>
</para>