<? // Définition des variables $login = "ton_login"; $passe = "ton_passe"; $ok_path = "url_page_réservée"; $wr_path = "url_page_retour"; if($login != $id AND $passe != $password) { header("Location:$wr_path"); } else { header("Location:$ok_path"); } ?> <html> <head> <title>Accès réservé !</title> </head> <form method="POST" action=""> Login : Password : </form> </html>