** Pastebin PRO Accounts Spring Special ** Get 40% discount for a limited time only! Click Here to check it out ;-)Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Apr 12th, 2013  |  syntax: PHP  |  size: 0.16 KB  |  views: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $username = escape($username);
  2. $password = escape($password);
  4. $query = $db->execute("SELECT id,username FROM users WHERE username=$username AND password=$password")
clone this paste RAW Paste Data