31 lines
876 B
PHP
31 lines
876 B
PHP
<!DOCTYPE html>
|
|
<!--
|
|
index.php
|
|
Saisie login et mot de passe
|
|
Envoi vers verifLogin.php pour contrôle
|
|
-->
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Authentification V3.1</title>
|
|
</head>
|
|
<body>
|
|
<h2>Authentification</h2>
|
|
<form method="POST" action ="verifLogin.php">
|
|
<label for="ztLogin">Login </label>
|
|
<input type="text" name="ztLogin" id="ztLogin" required=""/>
|
|
<label for="ztMdp">Mot de passe </label>
|
|
<input type="password" name="ztMdp" id="ztMdp" required=""/>
|
|
<br /> <br />
|
|
<input type="submit" value="Valider" />
|
|
</form>
|
|
<?php
|
|
// Affichage message d'erreur s'il existe
|
|
if (isset($_GET["msg"])) {
|
|
$msg = $_GET["msg"];
|
|
echo "<p>$msg</p>";
|
|
}
|
|
?>
|
|
</body>
|
|
</html>
|