http_redirect()
http_redirect - Issue HTTP redirect
Syntax
http_redirect (
string $url,
array $params,
bool $session,
int $status)
Arguments
- url - the URL to redirect to
- params - associative array of query parameters
- session - whether to append session information
- status - custom response status code
Description
Redirect to the given url.
Version
PHP PECL pecl_http >= 0.1.0
Return value
Returns FALSE or exitson success with the specified redirection status code. See the INI setting http.force_exitfor what "exits" means.