File: index.php - Tab length: 1 2 4 8 - Lines: on off - No wrap: on off

<html>
<head>
     <title>Connexion</title>
</head>
<body>
     <h1> Veuillez vous connecter </h1>
  <?php
 
 
     $problem = $_GET["problem"];
  $errormsg="<font color ='red'> ERROR: ";
  if($problem== "invalidUser") { $errormsg=$errormsg . "invalid user !! ";}
  if($problem== "invalidPassword") { $errormsg=$errormsg . "invalid Password !! ";}
  if($problem== "notLoggedIn") { $errormsg=$errormsg . "You are not logged in yet !! ";}
$errormsg=$errormsg . "</font>";
if ($problem != "" ) { print($errormsg);}
?>
<form id ="form1" name="form1" method ="post" action="verif_connect.php">
<p>
     <label for="identifiant"> Identifiant </label>
  <input type="text" name="identifiant" id="identifiant" />
  <label for="password">Mot de passe</label>
  <input type="text" name="password" id="password" />
  <input type="submit" name="lginButton" id="loginButton" value="Connexion" />
 
</p>
  </form>
  </body>
  </html>