Guest User

Untitled

a guest
Jan 13th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <?php
  2.  
  3. if($_POST) {
  4. $username = $_POST["username"];
  5. $password = $_POST["password"];
  6.  
  7. $login = new Login($username, $password);
  8.  
  9. if(!$login->checkLogin()) {
  10. exit($login->getError());
  11. }
  12.  
  13. // login was successful... do whatever.
  14.  
  15. }
Add Comment
Please, Sign In to add comment