Header Redirect

This simple snippet redirects from one page to another. Note: Must be sent before the rest of the content.

    header('Location: login.php');
    exit();

Posted at 2:57 on 3 st July 2009