Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. <?php
  2.  
  3. $username = $_REQUEST['username'];
  4. $pass = $_REQUEST['password'];
  5.  
  6. $auth->login($username,$pass);
  7.  
  8. if($auth->isLogged)
  9. header("Location: /adminPage.php");
  10. else
  11. header("Location: /login.php?failed");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement