Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. <?php
  2.  
  3. $a = 'root';
  4. $b = '123';
  5.  
  6. $login = (isset($_GET['login'])) ? $_GET['login'] : '';
  7. $password =  (isset($_GET['password'])) ? $_GET['password'] : '';
  8.  
  9. if( ($login == $a) and ($password == $b) ) header('Location: ok.html');
  10.     else echo 'sorry, bitch';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement