Guest User

Untitled

a guest
Dec 9th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.56 KB | None | 0 0
  1. <?php
  2. if(isset($_GET['submit_pass']))
  3. {
  4.     $key = "key{XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}";
  5.     $pass = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
  6.     if (strcasecmp($_GET['pass'], $pass) == 0)
  7.     {
  8.        echo '<p><strong>Your key is below:</strong><br/>'.$key.'</p>';
  9.     }
  10.     else
  11.     {
  12.         echo '<p><span style="color:red;">Wrong password!</span></p>';
  13.     }
  14. }
  15. ?>
  16. <form method="get">
  17.     <label>Password:</label>
  18. <input type="text" name="pass" />
  19. <input type="submit" name="submit_pass" value="Submit" />
Add Comment
Please, Sign In to add comment