daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Jan 28th, 2016 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $_SESSION['username'] = $_POST['usernamep'];
  2. header('Location: dashboard.php');
  3. } else {
  4. header('Location: index.php?alert');
  5.  
  6. $query = mysqli_query($conn, "SELECT * FROM `Administrators` WHERE username = '".addslashes($_POST['usernamep'])."' AND password='".$pass."'");
  7.  
  8. $query = mysqli_query($conn, "SELECT * FROM `Administrators` WHERE username = '".addslashes($_POST['usernamep'])."' AND password='".$pass."'");
  9.  
  10. if (mysqli_num_rows($query) > 0) {
  11.     $_SESSION['username'] = $_POST['usernamep'];
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