mike Wed Apr 4 19:11:08 2007 UTC
Modified files:
/phpdoc/en/reference/http/functions/responses http-redirect.xml
Log:
- typo
- missing <parameter/>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/http/functions/responses/http-redirect.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc/en/reference/http/functions/responses/http-redirect.xml
diff -u phpdoc/en/reference/http/functions/responses/http-redirect.xml:1.5
phpdoc/en/reference/http/functions/responses/http-redirect.xml:1.6
--- phpdoc/en/reference/http/functions/responses/http-redirect.xml:1.5 Wed Apr
4 19:06:27 2007
+++ phpdoc/en/reference/http/functions/responses/http-redirect.xml Wed Apr
4 19:11:08 2007
@@ -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/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>.
]]>