Advertisement
Guest User

Untitled

a guest
Sep 19th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. $('#login-form').on (function() {
  2.  
  3. <?php require_once('includes/config.php'); ?>
  4. var $username = $_POST['username'];
  5. var $password = $_POST['password'];
  6.  
  7. if($user->login($username,$password)){
  8. $_SESSION['username'] = $username;
  9. header('Location: memberpage.php');
  10. exit;
  11.  
  12. if($user->login($username,$password)){
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement