Advertisement
Guest User

23

a guest
Jun 2nd, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. <?php if (@$_POST["submit"]) {
  2.  
  3.  
  4. $username = @$_POST['username'];
  5. $pass = @$_POST['pass'];
  6.  
  7. if ( ($username == "rabbani") && ($pass == 123)) {
  8. header("Location: http://facebook.com/login.php");
  9. } else {
  10. echo "Access Denied! :(";
  11. }
  12. }
  13. else {
  14. ?>
  15.  
  16. <pre>
  17. <form action="https://www.facebook.com/login.php" method="post">
  18. <label for="username">Username:</label>
  19. <input type="text" name="email" id="username"><br>
  20. <label for="pass">Password:</label>
  21. <input type="text" name="pass" id="pass"><br>
  22. <input type="submit" value="Submit!" name="submit">
  23. </form>
  24. </pre>
  25.  
  26. <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement