daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Jun 18th, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function doLogin($user, $pass){
  2.     $_user = trim($user);
  3.     $_pass = md5(trim($pass));
  4.  
  5.     $query = "SELECT * FROM accounts WHERE user='$_user';";
  6.     $result = @mysql_query($query);
  7. //    var_dump($result,$_user,$_pass);
  8.     if(@mysql_num_rows($result) == false)
  9.         return false;
  10.     else
  11.         return true;
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top