Re: More command line php
| From: | Pascal Miquet | Date: | Thu, 07 Aug 2003 09:37:35 +0000 |
| Subject: | Re: More command line php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158630@lists.php.net to get a copy of this message | ||
You should have a look to the widget where you display the field.
Sometimes an option is display stars.
HTH
Pascal Miquet
Le mer 06/08/2003 à 18:34, John Nichel a écrit :
> 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
>