<?php 
session_start(); 
$frm = $_POST; 
if(isset($frm['go']))  
{ 
  if($frm['login'] == "client" && $frm['mdp'] == "publimage1")  
  {  
    $_SESSION['user'] = true; 
    header ("Location: choix_fichier.php"); 
    exit();  
  } 
  else 
  { 
    echo 'Login ou mot de passe incorrect.<br/ >'; 
  } 
} 
?> 
<html> 
<head> 
<title>Connexion</title> 
</head> 
<body> 
<center><br><br>
<h1>Identification</h1>
<form name"formulaire" method="post" action="login.php3"> 
Login : <input type="text" name="login" /><br /> 
Mot de passe : <input type="password" name="mdp" /><br /> 
<input type="submit" name="go" value="Connexion" /> 
</form> 
</body> 
</html> 
