NetBeansProjects
This commit is contained in:
30
sioa/NetBeansProjects/Authentification24/index.php
Normal file
30
sioa/NetBeansProjects/Authentification24/index.php
Normal file
@ -0,0 +1,30 @@
|
||||
<!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>
|
Reference in New Issue
Block a user