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 :-(
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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 not an internals question. This is more a StackOverflow type of
question, where in fact this has been asked and answered a couple of times:
http://stackoverflow.com/questions/187736/command-line-password-prompt-in-php
- -Rasmus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4rHhQACgkQlxayKTuqOuDJTgCfc8gHHXqc2hioxYqA5aOGmhpk
OeAAnArlpmj+jbeyAmxbsHtxRIwNwN+o
=nU1k
-----END PGP SIGNATURE
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.netwrote:
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 :-(