From 440726aedd5edd30d3058345f33eea225f7400fe Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Wed, 3 Oct 2001 17:54:28 +0000 Subject: [PATCH] correcting header() example typo git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@58880 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/http.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/http.xml b/functions/http.xml index be3f523c41..5a8146c864 100644 --- a/functions/http.xml +++ b/functions/http.xml @@ -1,5 +1,5 @@ - + HTTP functions HTTP @@ -71,8 +71,8 @@ exit; /* Make sure that code below does to make an absolute URI from a relative one yourself: -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);