tularis         Fri Jan  3 15:59:51 2003 EDT

  Modified files:              
    /phpdoc/en/reference/http/functions header.xml 
  Log:
   -Updated the example so everyone is finally satisfied
  
  
Index: phpdoc/en/reference/http/functions/header.xml
diff -u phpdoc/en/reference/http/functions/header.xml:1.10 
phpdoc/en/reference/http/functions/header.xml:1.11
--- phpdoc/en/reference/http/functions/header.xml:1.10  Fri Jan  3 11:05:16 2003
+++ phpdoc/en/reference/http/functions/header.xml       Fri Jan  3 15:59:51 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
 <!-- splitted from ./en/functions/http.xml, last change in rev 1.2 -->
   <refentry id="function.header">
    <refnamediv>
@@ -173,10 +173,11 @@
       <programlisting role="php">
 <![CDATA[
 <html>
-<?php 
-header ("Content-type: audio/x-pn-realaudio"); 
+<?php
+// This will give an error. Note the output
+// above, which is before the header() call
+header('Location: http://www.example.com/');
 ?>
-// Broken, note the echo ' ' above
 ]]>
       </programlisting>
      </informalexample>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to