cvs: phpdoc-zh /chapters config.xml tutorial.xml
| From: | Dallas Thunder | Date: | Fri, 27 Sep 2002 03:47:00 +0000 |
| Subject: | cvs: phpdoc-zh /chapters config.xml tutorial.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-652@lists.php.net to get a copy of this message | ||
dallas Thu Sep 26 23:47:00 2002 EDT
Modified files:
/phpdoc-zh/chapters config.xml tutorial.xml
Log:
Update with EN ver.
Index: phpdoc-zh/chapters/config.xml
diff -u phpdoc-zh/chapters/config.xml:1.9 phpdoc-zh/chapters/config.xml:1.10
--- phpdoc-zh/chapters/config.xml:1.9 Sun Sep 15 15:58:25 2002
+++ phpdoc-zh/chapters/config.xml Thu Sep 26 23:46:59 2002
@@ -1,5 +1,7 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<?xml version="1.0" encoding="gb2312"?>
+<!-- $Revision: 1.10 $ -->
+<!-- $Author: dallas $ -->
+<!-- EN-Revision: 1.78 Maintainer: Gregory Status: ready -->
<chapter id="configuration">
<title>Configuration</title>
@@ -178,9 +180,10 @@
<para>
This option enables the URL-aware fopen wrappers that enable
accessing URL object like files. Default wrappers are provided for
- the access of <link linkend="features.remote-files">remote files</link>
- using the ftp or http protocol, some extensions like zlib may
- register additional wrappers.
+ the access of <link linkend="features.remote-files">remote
files</link>
+ using the ftp or http protocol, some extensions like
+ <link linkend="ref.zlib">zlib</link> may register additional
+ wrappers.
</para>
<note>
@@ -194,10 +197,11 @@
</note>
<warning>
<para>
- On Windows, the following functions do not support remote file
- accesing: <function>include</function>,
- <function>include_once</function>, <function>require</function>
and
- <function>require_once</function>.
+ On Windows versions prior to PHP 4.3, the following functions do not
+ support remote file accesing: <function>include</function>,
+ <function>include_once</function>, <function>require</function>,
+ <function>require_once</function> and the imagecreatefromXXX
+ functions in the <xref linkend="ref.image"/> extension.
</para>
</warning>
@@ -315,23 +319,6 @@
</listitem>
</varlistentry>
- <varlistentry id="ini.engine">
- <term>
- <parameter>engine</parameter>
- <type>boolean</type>
- </term>
- <listitem>
- <para>
- This directive is really only useful in the Apache module
- version of PHP. It is used by sites that would like to turn
- PHP parsing on and off on a per-directory or per-virtual
- server basis. By putting <userinput>engine
- off</userinput> in the appropriate places in the
- <filename>httpd.conf</filename> file, PHP can be enabled or
- disabled.
- </para>
- </listitem>
- </varlistentry>
<varlistentry id="ini.error-log">
<term>
@@ -379,7 +366,7 @@
<listitem>
<para>
Whether or not to allow HTTP
- <link linkend="features.file-upload">file uploads</link>. See also
+ <link linkend="features.file-upload">file uploads</link>. See also
the
<link linkend="ini.upload-max-filesize">upload_max_filesize</link>,
<link linkend="ini.upload-tmp-dir">upload_tmp_dir</link>, and
@@ -541,7 +528,7 @@
</term>
<listitem>
<para>
- &true; by default. If changed to &false; scripts will be terminated
+ &true; by default. If changed to &false; scripts will be terminated
as soon as they try to output something after a client has aborted
their connection.
</para>
@@ -570,6 +557,9 @@
this option on has serious performance implications and is generally
recommended for debugging purposes only. This value defaults to
&true; when operating under the <literal>CLI SAPI</literal>.
+ </para>
+ <para>
+ See also <function>ob_implicit_flush</function>.
</para>
</listitem>
</varlistentry>
Index: phpdoc-zh/chapters/tutorial.xml
diff -u phpdoc-zh/chapters/tutorial.xml:1.5 phpdoc-zh/chapters/tutorial.xml:1.6
--- phpdoc-zh/chapters/tutorial.xml:1.5 Mon Sep 16 00:28:07 2002
+++ phpdoc-zh/chapters/tutorial.xml Thu Sep 26 23:46:59 2002
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- $Author: gregory $ -->
-<!-- EN-Revision: 1.7 Maintainer: Gregory Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- $Author: dallas $ -->
+<!-- EN-Revision: 1.8 Maintainer: Gregory Status: ready -->
<chapter id="tutorial">
<title>¼òÃ÷½Ì³Ì</title>
@@ -72,7 +72,7 @@
<title>¹ØÓÚÎı¾±à¼Æ÷</title>
<para>
ÓкܶàÎı¾±à¼Æ÷ÒÔ¼°¼¯³É¿ª·¢»·¾³£¨IDEs£©¿ÉÒÔ±»ÓÃÀ´½¨Á¢¡¢±à¼ºÍ¹ÜÀí
PHP Îļþ¡£ÕâЩ¹¤¾ßÖеÄÒ»²¿·Ö±»ÁÐÔÚ <ulink
- url="http://www.itworks.demon.co.uk/phpeditors.htm">PHP
±à¼Æ÷Áбí</ulink>ÖС£Èç¹ûÄúÏ£ÍûÍÆ¼öÆäËüµÄ±à¼Æ÷£¬Çë·ÃÎÊÒÔÉÏÒ³Ãæ£¬²¢ÒªÇó¸ÃÒ³ÃæµÄά»¤Õß½«ÄúÍÆ¼öµÄ±à¼Æ÷¼ÓÈëµ½¸ÃÁбíÖС£
+ url="&url.phpeditorlist;">PHP
±à¼Æ÷Áбí</ulink>ÖС£Èç¹ûÄúÏ£ÍûÍÆ¼öÆäËüµÄ±à¼Æ÷£¬Çë·ÃÎÊÒÔÉÏÒ³Ãæ£¬²¢ÒªÇó¸ÃÒ³ÃæµÄά»¤Õß½«ÄúÍÆ¼öµÄ±à¼Æ÷¼ÓÈëµ½¸ÃÁбíÖС£
</para>
</note>
@@ -109,7 +109,14 @@
<note>
<title>PHP ×Ô¶¯È«¾Ö±äÁ¿</title>
<para>
- <link linkend="reserved.variables.server">$_SERVER</link>
ÊÇÒ»¸öÌØÊâµÄ PHP ±£Áô±äÁ¿£¬Ëü°üº¬ÁË WEB
·þÎñÆ÷ÌṩµÄËùÓÐÐÅÏ¢£¬±»³ÆÎª×Ô¶¯È«¾Ö±äÁ¿¡£Çë²éÔı¾Êֲᡰ<link
linkend="language.variables.superglobals">×Ô¶¯È«¾Ö±äÁ¿</link>¡±£¨Ò²±»³ÆÎª¡°³¬¼¶È«¾Ö±äÁ¿¡±£©µÄÓйØÄÚÈÝ£¬ÒÔ»ñÈ¡¸ü¶àÐÅÏ¢¡£ÕâÐ©ÌØÊâµÄ±äÁ¿ÔÚ
PHP 4.1.0 °æ±¾ÒýÈëµÄ¡£ÔÚÕâ֮ǰ£¬ÎÒÃÇʹÓÃ
<varname>$HTTP_*_VARS</varname> Êý×飬Èç
<varname>$HTTP_SERVER_VARS</varname>¡£¾¡¹ÜÏÖÔÚÒѾ²»ÓÃÁË£¬µ«ËüÃÇÔÚа汾ÖÐÈÔÈ»´æÔÚ¡£
+ <link linkend="reserved.variables.server">$_SERVER</link>
+ ÊÇÒ»¸öÌØÊâµÄ PHP ±£Áô±äÁ¿£¬Ëü°üº¬ÁË WEB
+
·þÎñÆ÷ÌṩµÄËùÓÐÐÅÏ¢£¬±»³ÆÎª×Ô¶¯È«¾Ö±äÁ¿£¨»ò¡°³¬¼¶È«¾Ö±äÁ¿¡±£©¡£Çë²éÔı¾Êֲᡰ<link
+
linkend="language.variables.superglobals">×Ô¶¯È«¾Ö±äÁ¿</link>¡±µÄÓйØÄÚÈÝ£¬ÒÔ»ñÈ¡¸ü¶àÐÅÏ¢¡£ÕâÐ©ÌØÊâµÄ±äÁ¿ÊÇÔÚ
+ PHP <ulink url="&url.php.release4.1.0;">4.1.0</ulink>
°æ±¾ÒýÈëµÄ¡£ÔÚÕâ֮ǰ£¬ÎÒÃÇʹÓÃ
+ <varname>$HTTP_*_VARS</varname> Êý×飬Èç
+
<varname>$HTTP_SERVER_VARS</varname>¡£¾¡¹ÜÏÖÔÚÒѾ²»ÓÃÁË£¬µ«ËüÃÇÔÚа汾ÖÐÈÔÈ»´æÔÚ¡££¨²Î¼û<link
+ linkend="tutorial.oldcode">¾É´úÂë</link>ÖеÄ×¢½â¡££©
</para>
</note>
<para>
@@ -278,7 +285,7 @@
<itemizedlist>
<listitem>
<simpara>
- È¡ÏûÁË¾ÉµÄ <varname>$HTTP_*_VARS</varname>
Êý×飨ÔÚº¯Êý»òÕß·½·¨ÖÐËûÃÇÔ±¾ÊÇÈ«¾Ö±äÁ¿£©¡£PHP 4.1.0
°æ±¾ÒýÈëÁËÈçÏÂ<link
linkend="language.variables.superglobals">×Ô¶¯È«¾ÖÊý×é±äÁ¿</link>£º
+ È¡ÏûÁË¾ÉµÄ <varname>$HTTP_*_VARS</varname>
Êý×飨ÔÚº¯Êý»òÕß·½·¨ÖÐËûÃÇÔ±¾ÊÇÈ«¾Ö±äÁ¿£©¡£PHP
<ulink url="&url.php.release4.1.0;">4.1.0</ulink>
°æ±¾ÒýÈëÁËÈçÏÂ<link
linkend="language.variables.superglobals">×Ô¶¯È«¾ÖÊý×é±äÁ¿</link>£º
<varname>$_GET</varname>¡¢<varname>$_POST</varname>¡¢
<varname>$_COOKIE</varname>¡¢<varname>$_SERVER</varname>¡¢
<varname>$_ENV</varname>¡¢<varname>$_REQUEST</varname> ÒÔ¼°
<varname>$_SESSION</varname>¡£ À쵀 <varname>$HTTP_*_VARS</varname>
Êý×飬ÖîÈç $HTTP_POST_VARS µÈ£¬´Ó PHP 3
¾ÍÒѾ¿ªÊ¼Ê¹Óã¬ËüÃÇÈÔÈ»´æÔÚ¡£