Welcome Guest [Log In] [Register]
Add Reply
Password Field
Topic Started: Mar 1 2009, 09:58 PM (263 Views)
Dillon
Member Avatar

Hello, I am working on a PHP page, and I am trying to have a login page. Is there any way that I can make the text asteriks in the password field with PHP? Thanks!

-Dillon
<?

$text == "Hello World";

echo $text;

?>
Offline Profile Quote Post Goto Top
 
Darksorrow131

Code: HTML
 
<input type="password" id="whatever"/>
etc.
(let loop () (loop))
((lambda (x) (x x)) (lambda (x) (x x)))
(let ((k #f)) (call/cc (lambda (cc) (set! k cc)) (k))
((call/cc call/cc) (call/cc call/cc))

-- Infinite loops are awesome! --
Tell me if you have other awesome infinite loops!
Offline Profile Quote Post Goto Top
 
Dillon
Member Avatar

Awesome! Thanks alot! B-)

-Dillon
<?

$text == "Hello World";

echo $text;

?>
Offline Profile Quote Post Goto Top
 
PauloMillerz
Member Avatar

if you are going to need to pass this into anything, like a GET command, you may need to add a field name:

Quote:
 
<input type="password" name="pwd" value="pwd">
If you like... RATE IT!! Add to my reputation to the left?
Quote:
 
Bidet to you sir!

Posted Image
Offline Profile Quote Post Goto Top
 
GhettoFish
Member Avatar
Awesomeness FTW!
<input id="s" type="password" onfocus="if(this.value=='Password...') this.value='';" onblur="if(this.value=='') this.value='Password...';" value="Password..." name="password" size="20" />

To amke it look cool i would do it like this so you don't need to delete the value of the default text in the input :)
I'm not young enough to know everything.
- J.M. Barrie
http://www.cixz.org/
Offline Profile Quote Post Goto Top
 
Dillon
Member Avatar

Ok, cool! Thanks for replying :D They were helpful!

-Dillon
<?

$text == "Hello World";

echo $text;

?>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Web-Based Programming Support · Next Topic »
Add Reply

Banner and Logo by TheKeith