Page 1 of 1
Display Password Input Box
Posted: Thu Oct 12, 2006 11:51 am
by Nicoza
I have a simple HTML form with input elements:
Code: Select all
<input type="text" name="wagwoord" size="10">
where users log in (evaluated with my PHP code). But instead of displaying the actual characters of the password field, as they type it in, I would like those characters to be displayed by the traditional ******.
How do I do that?
Posted: Thu Oct 12, 2006 11:53 am
by Luke
not a php question...
Code: Select all
<input type="password" name="password">
[Solved] Display Password Input Box
Posted: Thu Oct 12, 2006 1:27 pm
by Nicoza
Thanks Ninja
Sorry about the not being PHP part. I figured, since PHP needs HTML to gather info from users, and the fact that I thought to display * characters requires some php function or so, that it is indeed related. New to this!
But then, is there PHP alternatives for creating forms? If so, just point me to go an study it up.
Thanks anyway. Appreciate the help.
Posted: Thu Oct 12, 2006 1:40 pm
by Luke
nope... all php does is pre-logic before outputting standard (X)HTML. It adds absolutely no extra client-side functionality as it is ran on the server as opposed to the client's browser. That is why PHP stands for PHP: Hypertext Pre-processor... although that is a recursive and stupid acronym I know.
Posted: Thu Oct 12, 2006 2:01 pm
by RobertGonzalez

Client Side.