Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <html>
  2. <body>
  3.  
  4. <form action="Login.php" method="post">
  5. Username: <input type="text" name="username"><br>
  6. Password: <input type="text name="password"><br>
  7. <input type="submit"f($username == "breivik" && $password == "hero")if($username == "breivik" && $password == "hero")>
  8. </form>
  9. </body>
  10. </html>
  11.  
  12.  
  13. <?PHP
  14. $username = $_POST["username"];
  15. $password = $_POST["password"];
  16. if($username == "breivik" && $password == "hero") {
  17. echo "Welcome!";
  18. else
  19. echo "Wrong username/password."
  20. }
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement