Advertisement
Guest User

Untitled

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