cvs: phpdoc-zh /appendices wrappers.xml
| From: | Dallas Thunder | Date: | Tue, 16 Aug 2005 15:39:20 +0000 |
| Subject: | cvs: phpdoc-zh /appendices wrappers.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2339@lists.php.net to get a copy of this message | ||
dallas Tue Aug 16 11:39:20 2005 EDT
Modified files:
/phpdoc-zh/appendices wrappers.xml
Log:
Updated.
http://cvs.php.net/diff.php/phpdoc-zh/appendices/wrappers.xml?r1=1.25&r2=1.26&ty=u
Index: phpdoc-zh/appendices/wrappers.xml
diff -u phpdoc-zh/appendices/wrappers.xml:1.25 phpdoc-zh/appendices/wrappers.xml:1.26
--- phpdoc-zh/appendices/wrappers.xml:1.25 Wed Aug 10 21:24:19 2005
+++ phpdoc-zh/appendices/wrappers.xml Tue Aug 16 11:39:19 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.25 $ -->
+<!-- $Revision: 1.26 $ -->
<!-- $Author: dallas $ -->
-<!-- EN-Revision:1.53 Maintainer: class007 Status: ready -->
+<!-- EN-Revision:1.54 Maintainer: class007 Status: ready -->
<!-- CREDITS: dallas -->
<appendix id="wrappers">
<title>Ö§³ÖµÄÐÒ飯·â×°ÐÒéÁбí</title>
@@ -184,13 +184,11 @@
foreach($meta_data['wrapper_data'] as $response) {
/* ÖØ¶¨Ïòµ½ºÎ´¦? */
- if (substr(strtolower($response), 0, 10) == 'location: ') {
+ if (substr(strtolower($response), 0, 18) == 'content-location: ') {
/* °ÑÒªÖØ¶¨ÏòµÄÁ´½Ó¸³Öµ¸ø $url */
- $url = substr($response, 10);
+ $url = substr($response, 18);
}
-
}
-
?>
]]>
</programlisting>