mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
4fa7a18b34
commit
440726aedd
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue