goba Wed Oct 3 13:54:28 2001 EDT
Modified files:
/phpdoc/en/functions http.xml
Log:
correcting header() example typo
Index: phpdoc/en/functions/http.xml
diff -u phpdoc/en/functions/http.xml:1.27 phpdoc/en/functions/http.xml:1.28
--- phpdoc/en/functions/http.xml:1.27 Sat Sep 22 04:39:02 2001
+++ phpdoc/en/functions/http.xml Wed Oct 3 13:54:28 2001
@@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.27 $ -->
+<!-- $Revision: 1.28 $ -->
<reference id="ref.http">
<title>HTTP functions</title>
<titleabbrev>HTTP</titleabbrev>
@@ -71,8 +71,8 @@
to make an absolute URI from a relative one yourself:
<informalexample>
<programlisting>
-Header ("Location: http://".$HTTP_SERVER_VARS['HTTP_HOST']
- ."/".dirname($HTTP_SERVER_VARS['PHP_SELF']
+header ("Location: http://".$HTTP_SERVER_VARS['HTTP_HOST']
+ ."/".dirname($HTTP_SERVER_VARS['PHP_SELF'])
."/".$relative_url);
</programlisting>
</informalexample>