hholzgra                Thu Apr  4 05:09:30 2002 EDT

  Modified files:              
    /phpdoc/en/functions        http.xml 
  Log:
  corrected my claims about header("HTTP ...") after reading the source 
  
  
Index: phpdoc/en/functions/http.xml
diff -u phpdoc/en/functions/http.xml:1.40 phpdoc/en/functions/http.xml:1.41
--- phpdoc/en/functions/http.xml:1.40   Thu Mar 28 12:16:39 2002
+++ phpdoc/en/functions/http.xml        Thu Apr  4 05:09:30 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.40 $ -->
+<!-- $Revision: 1.41 $ -->
  <reference id="ref.http">
   <title>HTTP functions</title>
   <titleabbrev>HTTP</titleabbrev>
@@ -63,12 +63,11 @@
      </informalexample>
      <note>
       <para>
-       If you want to set the return status like this then you have to 
-       make sure this is the very first header you send. Remember that
-       <function>setcookie</function> uses <function>header</function> 
-       internally and that the session functions might try to set a 
-       cookie, so these might interfere with setting a return status
-       using <literal>header("HTTP ...")</literal>.
+       The HTTP status header line will always be the first sent
+       to the client, regardless of the actual <function>header</function> 
+       call beeing the first or not. The status may be overridden 
+       by calling <function>header</function> with a new status line
+       at any time unless the HTTP headers have already been sent.
       </para>
      </note>
      <note>


Reply via email to