Advertisement
Guest User

Untitled

a guest
Sep 15th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Login</title>
  4. </head>
  5.  
  6. <?php
  7. $username = $_POST["username" ];
  8. $password = $_POST["password" ];
  9.  
  10. if ($username == "admin" && $Password = "123456") {
  11. echo "Loged in";}
  12. ?>
  13. <body>
  14. <form name="form1" method="post" action="">
  15. <label><br>
  16. Username
  17. <input type="text" name="username" id= "username">
  18. </label>
  19. <p>
  20. <label>Password
  21. <input type="password" name="password" id= "password">
  22. </label>
  23. </p>
  24. <p>
  25. <label>
  26. <input name="Login" type="submit" value="Login">
  27. </label>
  28. </p>
  29.  
  30. </form>
  31. </body>
  32. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement