correcting header() example typo

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@58880 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Gabor Hojtsy 2001-10-03 17:54:28 +00:00
parent 4fa7a18b34
commit 440726aedd

View file

@ -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 @@ exit; /* Make sure that code below does
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>