You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
311 B

  1. <?php include "header.php";
  2. $email=$_POST['email'];
  3. $password=sha1($_POST['password']);
  4. $ligne=requete1l("SELECT * FROM membres WHERE email='$email' AND pass='$password'");
  5. if($ligne=="")
  6. header("location:index.php?msg=3");
  7. else
  8. {
  9. extract($ligne);
  10. $_SESSION['status']=$id;
  11. header("location:index.php");
  12. }
  13. ?>