|
@ -7,7 +7,7 @@ if (isset($_POST['submit'])) { |
|
|
if ($password == "NSI") { |
|
|
if ($password == "NSI") { |
|
|
$message = "redirection en cours"; |
|
|
$message = "redirection en cours"; |
|
|
setcookie("logged", $username, 120); |
|
|
setcookie("logged", $username, 120); |
|
|
header('location: machine.html'); |
|
|
header('location: machine.php'); |
|
|
} else { |
|
|
} else { |
|
|
$message ="accès refusé"; |
|
|
$message ="accès refusé"; |
|
|
} |
|
|
} |
|
|