Esempio n. 1
0
function welcome()
{
    $authorizer = new Authorizer();
    $authorizer->setSession($_POST['username'], $_POST['password'], $_POST['cookie']);
    echo '<p>Logged in!</p>';
    $authorizer->redirect('index.php');
}