cvs: phpdoc-zh /reference/http/functions header.xml
| From: | Dallas Thunder | Date: | Tue, 06 Sep 2005 17:55:06 +0000 |
| Subject: | cvs: phpdoc-zh /reference/http/functions header.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2591@lists.php.net to get a copy of this message | ||
dallas Tue Sep 6 13:55:06 2005 EDT
Modified files:
/phpdoc-zh/reference/http/functions header.xml
Log:
Updated.
http://cvs.php.net/diff.php/phpdoc-zh/reference/http/functions/header.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc-zh/reference/http/functions/header.xml
diff -u phpdoc-zh/reference/http/functions/header.xml:1.6
phpdoc-zh/reference/http/functions/header.xml:1.7
--- phpdoc-zh/reference/http/functions/header.xml:1.6 Fri Sep 2 14:53:30 2005
+++ phpdoc-zh/reference/http/functions/header.xml Tue Sep 6 13:55:06 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.26 Maintainer: Avenger Status: ready -->
+<!-- EN-Revision: 1.27 Maintainer: Avenger Status: ready -->
<!-- CREDITS: dallas -->
<refentry id="function.header">
<refnamediv>
@@ -122,19 +122,8 @@
<programlisting role="php">
<![CDATA[
<?php
-// Ö¸¶¨Ò»¸ö¹ýÈ¥µÄÈÕÆÚ
-header("Expires: Mon, 26 Jul 1997 05:00:00 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");
-
-header("Cache-Control: post-check=0, pre-check=0", false);
-
-// HTTP/1.0
-header("Pragma: no-cache");
+header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
+header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // ¹ýÈ¥µÄʱ¼ä
?>
]]>
</programlisting>