diff --git a/index.php b/index.php index db24834..644c72d 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,7 @@ if (isset($_POST['submit'])) { if ($password == "NSI") { $message = "redirection en cours"; setcookie("logged", $username, 120); - header('location: machine.html'); + header('location: machine.php'); } else { $message ="accès refusé"; }