Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form name="login" method="post">
- Username:<input type="text" name="username" value=""><br />
- Password:<input type="password" name="password" value=""><br />
- <input type="submit" value="Login">
- </form>
- <?php
- $user = $_POST["username"];
- $pass = $_POST["password"];
- if($user == "easter" && $pass == "egg"){
- headers(Location: "/examplelocation");
- }
- ?>
Add Comment
Please, Sign In to add comment