diff --git a/reference/http/functions/responses/http-redirect.xml b/reference/http/functions/responses/http-redirect.xml index a0433285d1..acf90c15df 100644 --- a/reference/http/functions/responses/http-redirect.xml +++ b/reference/http/functions/responses/http-redirect.xml @@ -1,5 +1,5 @@ - + @@ -19,7 +19,7 @@ Redirect to the given url. - The supplied url will be expanded with http_build_url, the params array will + The supplied url will be expanded with http_build_url, the params array will be treated with http_build_str and the session identification will be appended if session is true. The HTTP response code will be set according to status. You can use one of the redirect constants for convenience. @@ -136,7 +136,7 @@ http_redirect("relpath", array("name" => "value"), true, HTTP_REDIRECT_PERM); HTTP/1.1 301 Moved Permanently X-Powered-By: PHP/5.2.2 Content-Type: text/html -Location: http://www.example.com/curdor/relpath?name=value&PHPSESSID=abc +Location: http://www.example.com/curdir/relpath?name=value&PHPSESSID=abc Redirecting to http://www.example.com/curdor/relpath?name=value&PHPSESSID=abc. ]]>