cvs: phpdoc-zh /reference/ftp/functions ftp-rename.xml ftp-set-option.xml /reference/http/functions header.xml headers-sent.xml setcookie.xml
| From: | Dallas Thunder | Date: | Thu, 18 Aug 2005 12:59:19 +0000 |
| Subject: | cvs: phpdoc-zh /reference/ftp/functions ftp-rename.xml ftp-set-option.xml /reference/http/functions header.xml headers-sent.xml setcookie.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2406@lists.php.net to get a copy of this message | ||
dallas Thu Aug 18 08:59:19 2005 EDT
Modified files:
/phpdoc-zh/reference/ftp/functions ftp-rename.xml
ftp-set-option.xml
/phpdoc-zh/reference/http/functions header.xml headers-sent.xml
setcookie.xml
Log:
Change encoding to gb2312
http://cvs.php.net/diff.php/phpdoc-zh/reference/ftp/functions/ftp-rename.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-zh/reference/ftp/functions/ftp-rename.xml
diff -u phpdoc-zh/reference/ftp/functions/ftp-rename.xml:1.2
phpdoc-zh/reference/ftp/functions/ftp-rename.xml:1.3
--- phpdoc-zh/reference/ftp/functions/ftp-rename.xml:1.2 Mon Feb 17 22:32:37 2003
+++ phpdoc-zh/reference/ftp/functions/ftp-rename.xml Thu Aug 18 08:59:17 2005
@@ -1,8 +1,8 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- splitted from ./en/functions/ftp.xml, last change in rev 1.2 -->
-<!-- $Author: avenger $ -->
+<?xml version="1.0" encoding="gb2312"?>
+<!-- $Revision: 1.3 $ -->
+<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.4 Maintainer: Avenger Status: ready -->
+<!-- splitted from ./en/functions/ftp.xml, last change in rev 1.2 -->
<refentry id="function.ftp-rename">
<refnamediv>
<refname>ftp_rename</refname>
http://cvs.php.net/diff.php/phpdoc-zh/reference/ftp/functions/ftp-set-option.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-zh/reference/ftp/functions/ftp-set-option.xml
diff -u phpdoc-zh/reference/ftp/functions/ftp-set-option.xml:1.2
phpdoc-zh/reference/ftp/functions/ftp-set-option.xml:1.3
--- phpdoc-zh/reference/ftp/functions/ftp-set-option.xml:1.2 Sun Sep 21 17:54:26 2003
+++ phpdoc-zh/reference/ftp/functions/ftp-set-option.xml Thu Aug 18 08:59:18 2005
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<?xml version="1.0" encoding="gb2312"?>
+<!-- $Revision: 1.3 $ -->
<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.7 Maintainer: Avenger Status: ready -->
<!-- CREDITS: dallas -->
http://cvs.php.net/diff.php/phpdoc-zh/reference/http/functions/header.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc-zh/reference/http/functions/header.xml
diff -u phpdoc-zh/reference/http/functions/header.xml:1.3
phpdoc-zh/reference/http/functions/header.xml:1.4
--- phpdoc-zh/reference/http/functions/header.xml:1.3 Thu Aug 18 02:34:55 2005
+++ phpdoc-zh/reference/http/functions/header.xml Thu Aug 18 08:59:18 2005
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.3 $ -->
-<!-- $Author: lm92 $ -->
+<!-- $Revision: 1.4 $ -->
+<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.25 Maintainer: Avenger Status: ready -->
<refentry id="function.header">
<refnamediv>
@@ -59,7 +59,7 @@
<note>
<para>
HTTP
Í·²¿ÐÅϢͨ³£ÊÇÊ×Ïȱ»·¢Ë͵½¿Í»§¶ËµÄ£¬Ëü²¢²»¹ÜÄãµÄ
<function>header</function>
- º¯ÊýÊÇ·ñÊÇÔÚµÚÒ»ÐС£ÔÚͨ³£µÄÇé¿öÏÂThe status may be
overridden
+ º¯ÊýÊÇ·ñÊÇÔÚµÚÒ»ÐС£ÔÚͨ³£µÄÇé¿öÏÂThe status may be
overridden
by calling <function>header</function> with a new status line
at any time unless the HTTP headers have already been sent.
³ý·Ç HTTP Í·²¿ÐÅÏ¢ÒѾ±»·¢ËÍ¡£
@@ -129,7 +129,7 @@
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always modified
-header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
+header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
@@ -171,7 +171,7 @@
]]>
</programlisting>
</informalexample>
- </para>
+ </para>
<note>
<para>
ÔÚ PHP
4ÀÄã¿ÉÒÔͨ¹ýһЩÊä³ö»º³åº¯ÊýÀ´½â¾öÕâ¸öÎÊÌâ¡£ÕâÑù×ö£¬Äã¿ÉÒÔ°ÑËùÓеÄÊä³ö¶¼»º³åµ½·þÎñ£¬Ö±µ½ÄãÏÂÃüÁî·¢ËÍËüÃÇ¡£Äã¿ÉÒÔÔÚÄãµÄ´úÂëÖÐʹÓÃ
<function>ob_start</function> ¼° <function>ob_end_flush</function>
http://cvs.php.net/diff.php/phpdoc-zh/reference/http/functions/headers-sent.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-zh/reference/http/functions/headers-sent.xml
diff -u phpdoc-zh/reference/http/functions/headers-sent.xml:1.2
phpdoc-zh/reference/http/functions/headers-sent.xml:1.3
--- phpdoc-zh/reference/http/functions/headers-sent.xml:1.2 Thu Aug 18 00:35:08 2005
+++ phpdoc-zh/reference/http/functions/headers-sent.xml Thu Aug 18 08:59:18 2005
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.2 $ -->
-<!-- $Author: lm92 $ -->
+<!-- $Revision: 1.3 $ -->
+<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.16 Maintainer: Avenger Status: ready -->
<refentry id="function.headers-sent">
<refnamediv>
@@ -10,7 +10,7 @@
<refsect1>
<title>ÃèÊö</title>
<methodsynopsis>
- <type>bool</type><methodname>headers_sent</methodname>
+ <type>bool</type><methodname>headers_sent</methodname>
<methodparam choice="opt"><type>string</type><parameter
role="reference">file</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter
role="reference">line</parameter></methodparam>
</methodsynopsis>
@@ -44,7 +44,7 @@
header('Location: http://www.example.com/');
exit;
}
-
+
// Ò»¸öʹÓà file ºÍ line ²ÎÊýµÄÀý×Ó£¬Ö»ÄÜÔËÐÐÔÚ PHP 4.3.0
»òÒÔÉϰ汾
// ×¢Òâ $filename ºÍ $linenum
¿ÉÒÔ´«µÝ¸øºóÐø´úÂëʹÓ㬲»Òª³õʼ»¯ËüÃÇ¡£
if (!headers_sent($filename, $linenum)) {
http://cvs.php.net/diff.php/phpdoc-zh/reference/http/functions/setcookie.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/http/functions/setcookie.xml
diff -u phpdoc-zh/reference/http/functions/setcookie.xml:1.1
phpdoc-zh/reference/http/functions/setcookie.xml:1.2
--- phpdoc-zh/reference/http/functions/setcookie.xml:1.1 Thu Jul 7 05:47:34 2005
+++ phpdoc-zh/reference/http/functions/setcookie.xml Thu Aug 18 08:59:18 2005
@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: yincheng $ -->
+<?xml version="1.0" encoding="gb2312"?>
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.12 Maintainer: Avenger Status: ready -->
<!-- splitted from ./en/functions/http.xml, last change in rev 1.2 -->
<refentry id="function.setcookie">