Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <body>
- <form action="Login.php" method="post">
- Username: <input type="text" name="username"><br>
- Password: <input type="text name="password"><br>
- <input type="submit"f($username == "breivik" && $password == "hero")if($username == "breivik" && $password == "hero")>
- </form>
- </body>
- </html>
- <?PHP
- $username = $_POST["username"];
- $password = $_POST["password"];
- if($username == "breivik" && $password == "hero") {
- echo "Welcome!";
- else
- echo "Wrong username/password."
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement