[PHP-DOC] cvs: phpdoc /en/functions http.xml From: Egon Schmid (eschmid <email protected>)
Date: 08/15/00

eschmid Tue Aug 15 17:01:46 2000 EDT

  Modified files:
    /phpdoc/en/functions http.xml
  Log:
  Some cosmetic changes.
  
Index: phpdoc/en/functions/http.xml
diff -u phpdoc/en/functions/http.xml:1.8 phpdoc/en/functions/http.xml:1.9
--- phpdoc/en/functions/http.xml:1.8 Tue Aug 15 16:38:44 2000
+++ phpdoc/en/functions/http.xml Tue Aug 15 17:01:46 2000
@@ -79,13 +79,13 @@
       </programlisting>
      </informalexample>
     </para>
- <para>
- See also <function>headers_sent</function>
- </para>
+ <para>
+ See also <function>headers_sent</function>
+ </para>
    </refsect1>
   </refentry>
 
- <refentry id="function.headers-sent">
+ <refentry id="function.headers-sent">
    <refnamediv>
     <refname>header_sent</refname>
     <refpurpose>Returns true if headers have been sent</refpurpose>
@@ -98,18 +98,16 @@
       <paramdef><parameter>void</parameter></paramdef>
      </funcprototype>
     </funcsynopsis>
+ <para>
+ This function returns true if the HTTP headers have already been
+ sent, false otherwise.
+ </para>
     <para>
- This function returns true if the HTTP headers have already been sent,
- false otherwise.
+ See also <function>header</function>
     </para>
- <para>
- See also <function>header</function>
- </para>
    </refsect1>
   </refentry>
 
-
-
   <refentry id="function.setcookie">
    <refnamediv>
     <refname>setcookie</refname>
@@ -121,15 +119,25 @@
      <funcprototype>
       <funcdef>int <function>setcookie</function></funcdef>
       <paramdef>string <parameter>name</parameter></paramdef>
- <paramdef>string <parameter><optional>value</optional></parameter></paramdef>
- <paramdef>int <parameter><optional>expire</optional></parameter></paramdef>
- <paramdef>string <parameter><optional>path</optional></parameter></paramdef>
- <paramdef>string <parameter><optional>domain</optional></parameter></paramdef>
- <paramdef>int <parameter><optional>secure</optional></parameter></paramdef>
+ <paramdef>string
+ <parameter><optional>value</optional></parameter>
+ </paramdef>
+ <paramdef>int
+ <parameter><optional>expire</optional></parameter>
+ </paramdef>
+ <paramdef>string
+ <parameter><optional>path</optional></parameter>
+ </paramdef>
+ <paramdef>string
+ <parameter><optional>domain</optional></parameter>
+ </paramdef>
+ <paramdef>int
+ <parameter><optional>secure</optional></parameter>
+ </paramdef>
      </funcprototype>
     </funcsynopsis>
     <para>
- <function>setcookie</function> defines a cookie to be sent along
+ <function>Setcookie</function> defines a cookie to be sent along
      with the rest of the header information. Cookies must be sent
      <emphasis>before</emphasis> any other headers are sent (this is a
      restriction of cookies, not PHP). This requires you to place
@@ -178,7 +186,7 @@
     <para>
      Some examples follow how to send cookies:
      <example>
- <title><function>setcookie</function> send examples</title>
+ <title><function>Setcookie</function> send examples</title>
       <programlisting role="php">
 setcookie ("TestCookie", "Test Value");
 setcookie ("TestCookie", $value,time()+3600); /* expire in 1 hour */
@@ -192,8 +200,8 @@
       <title><function>setcookie</function> delete examples</title>
       <programlisting role="php">
 setcookie ("TestCookie");
-setcookie ("TestCookie", "",time());
-setcookie ("TestCookie", "",time(), "/~rasmus/", ".utoronto.ca", 1);
+setcookie ("TestCookie", "", time());
+setcookie ("TestCookie", "", time(), "/~rasmus/", ".utoronto.ca", 1);
       </programlisting>
      </example>
     </para>