Return to Snippet

Revision: 62289
at February 13, 2013 20:09 by apphp-snippets


Initial Code
<?php
    // stick your url here
    header('Location: http://you_address/url.php');
    exit;
?>

Initial URL
http://www.apphp.com/index.php?snippet=php-http-redirection

Initial Description
Allows to perform PHP redirection (must be placed before any browser output).

Initial Title
HTTP Redirection in PHP

Initial Tags
http, php

Initial Language
PHP