Re: CLI: input password without showing it

From: Date: Sat, 23 Jul 2011 19:17:16 +0000
Subject: Re: CLI: input password without showing it
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-54163@lists.php.net to get a copy of this message
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 <h.reindl@thelounge.net>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 :-( > > >

« previous php.internals (#54163) next »