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);
   }

Reply via email to