don't want to display password in address bar in html
Username:
Password:/users/home is html file displayed on submit button
when I enter username and password as "anuj" and "rohan" they are displayed on the next page in the address bar as http://localhost:3000/users/home?username=anuj&pwd=rohan
I don't want to display these things as these are protected. Is开发者_运维问答 there any way to encrypt or hide passwords in html.
When you use the form
tag, make sure it's method
attribute is set to POST
like so:
<form action="index.php" method=POST>
精彩评论