Re: [PHP-DEV] CLI: input password without showing it

2011-07-23 Thread Kiall Mac Innes
Check the password method here: https://github.com/kohana-minion/core/blob/develop/classes/minion/cli.php It should do what you want on windows+linux.. Kiall On Sat, Jul 23, 2011 at 8:07 PM, Reindl Harald wrote: > hi > > is there any way to request a password from a user without > showing the

Re: [PHP-DEV] CLI: input password without showing it

2011-07-23 Thread Rasmus Lerdorf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/23/2011 12:07 PM, Reindl Harald wrote: > hi > > is there any way to request a password from a user without showing > the input in the terminal? > > $input_pwd = trim(fgets(STDIN)); > > works nice as long no foreigner is in the room :-( Really

[PHP-DEV] CLI: input password without showing it

2011-07-23 Thread Reindl Harald
hi is there any way to request a password from a user without showing the input in the terminal? $input_pwd = trim(fgets(STDIN)); works nice as long no foreigner is in the room :-( signature.asc Description: OpenPGP digital signature