By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,493 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,493 IT Pros & Developers. It's quick & easy.

Password input box

P: 24
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
Share this Question
Share on Google+
13 Replies


drhowarddrfine
Expert 5K+
P: 7,435
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

P: 24
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 5K+
P: 7,435
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

P: 24
how would i do that? or where can i read about it?
Mar 22 '07 #5

P: 24
i think i would want to do it in javascript
Mar 22 '07 #6

drhowarddrfine
Expert 5K+
P: 7,435
Then ask on the javascript board.
Mar 22 '07 #7

Expert 100+
P: 1,892
Actually, you probably want to do both server side and client.
Mar 23 '07 #8

P: 24
how would i do server side?
Mar 23 '07 #9

Expert 100+
P: 1,892
how would i do server side?
What language are you using?
Mar 23 '07 #10

P: 24
i am using html.

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

this is the page with the password box.
Mar 23 '07 #11

Expert 100+
P: 1,892
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 100+
P: 1,892
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
100+
P: 431
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.