Advertisement
Guest User

Untitled

a guest
Sep 28th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html>
  4.  
  5. <head>
  6. <title>Login</title>
  7. <script type="text/javascript" src="./md5.js"></script>
  8. <script type="text/javascript">
  9. function EncPw(form) {
  10. form.password.value = MD5(form.password.value);
  11. return true;
  12. }
  13. </script>
  14. </head>
  15. <body>
  16. <form name="register" method="POST" onSubmit="javascript:EncPw(this);" action="login.php">
  17. <p>Username: <input type="text" name="username" /></p>
  18. <p>Password: <input type="password" id="password" name="password"/></p>
  19. <p><input type="submit" value="Login" /></p>
  20. </form>
  21.  
  22. </body>
  23. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement