More command line php
| From: | John Nichel | Date: | Wed, 06 Aug 2003 16:34:06 +0000 |
| Subject: | More command line php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-158511@lists.php.net to get a copy of this message | ||
Is it possible to 'star out' the standard input (STDIN)? I'm having users enter a password in, and would like it to display ****** as they are typing it in. Right now, I'm using....
$pass = rtrim ( fgets ( STDIN ) );
And it just displays what they are typing.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com