[PHP-DOC] cvs: phpdoc /fr/functions http.xml From: Damien Seguy (dams <email protected>)
Date: 07/31/01

dams Tue Jul 31 02:47:42 2001 EDT

  Modified files:
    /phpdoc/fr/functions http.xml
  Log:
  Updated header's example
  
Index: phpdoc/fr/functions/http.xml
diff -u phpdoc/fr/functions/http.xml:1.8 phpdoc/fr/functions/http.xml:1.9
--- phpdoc/fr/functions/http.xml:1.8 Thu Jul 12 07:11:18 2001
+++ phpdoc/fr/functions/http.xml Tue Jul 31 02:47:42 2001
@@ -47,8 +47,10 @@
     <informalexample>
      <programlisting role="php">
 &lt;?php
-header("Location: http://www.php.net"); /* Redirige le client vers le site PHP */
-exit(); /* Assure que le code ci-dessous n'est jamais ex&eacute;cut&eacute;. */
+ header("Location: http://www.php.net/");
+/* Redirige le client vers le site PHP */
+ exit();
+/* Assure que le code ci-dessous n'est jamais ex&eacute;cut&eacute;. */
 ?&gt;
      </programlisting>
     </informalexample>
@@ -63,7 +65,7 @@
     <informalexample>
      <programlisting role="php">
 &lt;?php
-header("http/1.0 404 Not Found");
+ header("http/1.0 404 Not Found");
 ?&gt;
      </programlisting>
     </informalexample>