467,910 Members | 1,774 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

Password input box

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.
Mar 21 '07 #1
  • viewed: 6778
Share:
13 Replies
drhowarddrfine
Expert 4TB
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">
Mar 21 '07 #2
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??
Mar 22 '07 #3
drhowarddrfine
Expert 4TB
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.
Mar 22 '07 #4
how would i do that? or where can i read about it?
Mar 22 '07 #5
i think i would want to do it in javascript
Mar 22 '07 #6
drhowarddrfine
Expert 4TB
Then ask on the javascript board.
Mar 22 '07 #7
Expert 1GB
Actually, you probably want to do both server side and client.
Mar 23 '07 #8
how would i do server side?
Mar 23 '07 #9
Expert 1GB
how would i do server side?
What language are you using?
Mar 23 '07 #10
i am using html.

http://www.signatureparty.com/priceps.htm

this is the page with the password box.
Mar 23 '07 #11
Expert 1GB
i am using html.

http://www.signatureparty.com/priceps.htm

this is the page with the password box.
Go look at my post in the javascript section.
Mar 23 '07 #12
Expert 1GB
i am using html.

http://www.signatureparty.com/priceps.htm

this is the page with the password box.
Also, HTML is not a server side scripting language. HTML and Javascript can be seen by the client (anyone who surf's to your page). A server side language is PHP, ASP etc....

HTH,
Aric
Mar 23 '07 #13
eragon
256MB
i got a password script you might like, it is EXTREMELY versitaile (sp?), and i will be more than happy to send it to you. It works like a charm, however, its not encrypted or anything, its just an external *.js file. PM me if you want it. =]

Sincerely,

Eragon
May 27 '07 #14

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by juglesh | last post: by
7 posts views Thread by Mike | last post: by
reply views Thread by teenzbutler | last post: by
4 posts views Thread by PJones | last post: by
9 posts views Thread by kwindham | last post: by
2 posts views Thread by mankolele | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.