mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- typo
- missing <parameter/> git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@233293 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d4ba342695
commit
b174945c08
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
|
||||
<refentry id="function.http-redirect">
|
||||
<refnamediv>
|
||||
|
@ -19,7 +19,7 @@
|
|||
Redirect to the given url.
|
||||
</para>
|
||||
<para>
|
||||
The supplied url will be expanded with <function>http_build_url</function>, the <parameter>params</parameter> array will
|
||||
The supplied <parameter>url</parameter> will be expanded with <function>http_build_url</function>, the <parameter>params</parameter> array will
|
||||
be treated with <function>http_build_str</function> and the session identification will be appended
|
||||
if <parameter>session</parameter> is true. The HTTP response code will be set according to <parameter>status</parameter>.
|
||||
You can use one of the <link linkend="http.constants.redirect">redirect constants</link> 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 <a href="http://www.example.com/curdor/relpath?name=value&PHPSESSID=abc">http://www.example.com/curdor/relpath?name=value&PHPSESSID=abc</a>.
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue