Re: password: mypassword --> *********
| From: | Jason Wong | Date: | Wed, 30 Apr 2003 10:11:39 +0000 |
| Subject: | Re: password: mypassword --> ********* | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145747@lists.php.net to get a copy of this message | ||
On Wednesday 30 April 2003 17:51, Richard Rojas wrote:
> Does anybody know how to do this?
>
> Im trying to make a simple command line login using PHP.
> Something like this....
>
> login: username
> password: mypassword --->
>
> My problem is that I cant suppress "mypassword" from
> being outputted on the screen. Is there a way to output
> *********, instead of "mypassword"? Or even a blank,
> or anything except the real password?
Have a look the ncurses functions. I've never used them before but it looks as
if it can do what you want.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
NEWS FLASH!!
Today the East German pole-vault champion became the West German pole-vault
champion.
*/