daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Oct 20th, 2018 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                 <?php
  2.                 if (!empty($_POST['pass'])) {
  3.                     if ($_POST["pass"] == "TestPassword123") {
  4.                         $_SESSION["valid"] = true;
  5.                         $_SESSION["time"] = time();
  6.                         header("Location: admin.php");
  7.                     } else {
  8.                         echo "Incorrect password";
  9.                     }
  10.                 }
  11.                 ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top