Guest User

Untitled

a guest
Aug 7th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <form name="login" method="post">
  2. Username:<input type="text" name="username" value=""><br />
  3. Password:<input type="password" name="password" value=""><br />
  4. <input type="submit" value="Login">
  5. </form>
  6. <?php
  7. $user = $_POST["username"];
  8. $pass = $_POST["password"];
  9. if($user == "easter" && $pass == "egg"){
  10. headers(Location: "/examplelocation");
  11. }
  12. ?>
Add Comment
Please, Sign In to add comment