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">
<?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écuté. */
+ header("Location: http://www.php.net/");
+/* Redirige le client vers le site PHP */
+ exit();
+/* Assure que le code ci-dessous n'est jamais exécuté. */
?>
</programlisting>
</informalexample>
@@ -63,7 +65,7 @@
<informalexample>
<programlisting role="php">
<?php
-header("http/1.0 404 Not Found");
+ header("http/1.0 404 Not Found");
?>
</programlisting>
</informalexample>