sean Tue Aug 16 10:47:20 2005 EDT
Modified files: /phpdoc/en/appendices wrappers.xml Log: fix example (from user note -- and Derick) http://cvs.php.net/diff.php/phpdoc/en/appendices/wrappers.xml?r1=1.53&r2=1.54&ty=u Index: phpdoc/en/appendices/wrappers.xml diff -u phpdoc/en/appendices/wrappers.xml:1.53 phpdoc/en/appendices/wrappers.xml:1.54 --- phpdoc/en/appendices/wrappers.xml:1.53 Sat Jul 16 13:00:09 2005 +++ phpdoc/en/appendices/wrappers.xml Tue Aug 16 10:47:17 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.53 $ --> +<!-- $Revision: 1.54 $ --> <appendix id="wrappers"> <title>List of Supported Protocols/Wrappers</title> <para> @@ -191,9 +191,9 @@ foreach($meta_data['wrapper_data'] as $response) { /* Were we redirected? */ - if (substr(strtolower($response), 0, 10) == 'location: ') { + if (substr(strtolower($response), 0, 18) == 'content-location: ') { /* update $url with where we were redirected to */ - $url = substr($response, 10); + $url = substr($response, 18); } }