Advertisement
Guest User

tp,xzxxfxc

a guest
Jan 15th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. if(isset($_POST["username"]) and isset($_POST["password"])){
  2.  
  3. if($str_username == "admin" and $str_password == "password")
  4. {
  5. $_SESSION["login"] = "verified";
  6. header('location:index.php');
  7. }
  8. else{
  9. echo "Invalid Username and/or Password";
  10. }}
  11.  
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement