Guest User

Untitled

a guest
Mar 16th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <?php
  2.  
  3. $username = array("pass1", "pass2", "password3", "supermans password");
  4. $password = array("pass1", "pass2", "password3", "supermans password");
  5.  
  6.  
  7. if(isset($_POST['user']) && isset($_POST['password']))
  8. {
  9.  
  10. if($username == $_POST['user'] && $password == $_POST['password'])
  11.  
  12. {
  13. header('Location: admincp.php');
  14. ?>
  15. <?php
  16. }
  17. else
  18. {
  19.  
  20. die("Your Login Information was Incorrect");
  21. }
  22. }
  23. else
  24. {
  25.  
  26. ?>
Add Comment
Please, Sign In to add comment