cvs: phpdoc /en/appendices wrappers.xml
| From: | Gavin Foster | Date: | Sun, 28 May 2006 20:33:19 +0000 |
| Subject: | cvs: phpdoc /en/appendices wrappers.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969373129@lists.php.net to get a copy of this message | ||
gavinfo Sun May 28 20:33:19 2006 UTC
Modified files:
/phpdoc/en/appendices wrappers.xml
Log:
Correction to example of detecting http redirection.
http://cvs.php.net/viewcvs.cgi/phpdoc/en/appendices/wrappers.xml?r1=1.60&r2=1.61&diff_format=u
Index: phpdoc/en/appendices/wrappers.xml
diff -u phpdoc/en/appendices/wrappers.xml:1.60 phpdoc/en/appendices/wrappers.xml:1.61
--- phpdoc/en/appendices/wrappers.xml:1.60 Mon Apr 3 16:00:02 2006
+++ phpdoc/en/appendices/wrappers.xml Sun May 28 20:33:19 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.60 $ -->
+<!-- $Revision: 1.61 $ -->
<appendix id="wrappers">
<title>List of Supported Protocols/Wrappers</title>
<para>
@@ -191,7 +191,7 @@
foreach($meta_data['wrapper_data'] as $response) {
/* Were we redirected? */
- if (substr(strtolower($response), 0, 18) == 'content-location: ') {
+ if (substr(strtolower($response), 0, 10) == 'location: ') {
/* update $url with where we were redirected to */
$url = substr($response, 18);
}