密码输入框 [英] Password input box

查看:70
本文介绍了密码输入框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个密码输入框,当我们输入密码时,我想这样做,例如show等。它会转到另一页。我想要一个基本的解决方案,我不需要加密。

I have a password input box and i want to make it so when they type in a password say such as "show" it would go to another page. i want a basic solution and i dont need it encrypted.

推荐答案

假设这个密码框是表单的一部分,您只需将要转到的页面放在操作中即可。值。


< form action =" yourpage.html">

< p>

< input type = " password">>
Assuming this "password box" is part of a form, you simply put the page you want to go to in the "action" value.

<form action="yourpage.html">
<p>
<input type="password">


确定我做到了但是现在当我输入任何密码时它会进入网络我如何制作它所以只有一个密码有效?
ok i did that but now when i type in any password it goes to the web how do i make it so only one password works??


这就是编程的用武之地。您需要使用javascript进行客户端身份验证或使用任意数量的编程语言进行服务器端身份验证。当然,服务器端更安全。
That''s where programming comes in. You need either client side authentication using javascript or server side authentication with any number of programming languages. Server side, of course, is more secure.


这篇关于密码输入框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆