<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Redirect</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="httpresponse.guesscontenttype.html">HttpResponse::guessContentType</a></div> <div class="next" style="text-align: right; float: right;"><a href="httpresponse.send.html">HttpResponse::send</a></div> <div class="up"><a href="class.httpresponse.html">HttpResponse</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="httpresponse.redirect" class="refentry"> <div class="refnamediv"> <h1 class="refname">HttpResponse::redirect</h1> <p class="verinfo">(PECL pecl_http >= 0.10.0)</p><p class="refpurpose"><span class="refname">HttpResponse::redirect</span> — <span class="dc-title">Redirect</span></p> </div> <div class="refsect1 description" id="refsect1-httpresponse.redirect-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">static</span> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>HttpResponse::redirect</strong></span> ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$url</code></span> [, <span class="methodparam"><span class="type">array</span> <code class="parameter">$params</code></span> [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$session</code><span class="initializer"> = false</span></span> [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$status</code></span> ]]]] )</div> <p class="para rdfs-comment"> This function is an alias of: <span class="function"><a href="function.http-redirect.html" class="function">http_redirect()</a></span>. </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="httpresponse.guesscontenttype.html">HttpResponse::guessContentType</a></div> <div class="next" style="text-align: right; float: right;"><a href="httpresponse.send.html">HttpResponse::send</a></div> <div class="up"><a href="class.httpresponse.html">HttpResponse</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>