Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54161 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42801 invoked from network); 23 Jul 2011 19:08:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2011 19:08:06 -0000 Authentication-Results: pb1.pair.com header.from=h.reindl@thelounge.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=h.reindl@thelounge.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thelounge.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: h.reindl@thelounge.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Windows 98 (1) Received: from [91.118.73.15] ([91.118.73.15:47724] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/00-42580-11C1B2E4 for ; Sat, 23 Jul 2011 15:08:02 -0400 Received: from srv-rhsoft.rhsoft.net (openvpn-241.thelounge.net [10.0.0.241]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (Postfix) with ESMTPSA id A3AE0C5 for ; Sat, 23 Jul 2011 21:07:58 +0200 (CEST) Message-ID: <4E2B1C0E.9040104@thelounge.net> Date: Sat, 23 Jul 2011 21:07:58 +0200 Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 MIME-Version: 1.0 To: Mailing-List php X-Enigmail-Version: 1.2 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE88DF31E244AAC3C369FC73F" Subject: CLI: input password without showing it From: h.reindl@thelounge.net (Reindl Harald) --------------enigE88DF31E244AAC3C369FC73F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi is there any way to request a password from a user without showing the input in the terminal? $input_pwd =3D trim(fgets(STDIN)); works nice as long no foreigner is in the room :-( --------------enigE88DF31E244AAC3C369FC73F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4rHA4ACgkQhmBjz394AnlwxQCcDUZW3anKvq1jQJrnigAcCux1 zyAAniUh/05t1ka5D55YbaNfNSaI2roM =/sWr -----END PGP SIGNATURE----- --------------enigE88DF31E244AAC3C369FC73F--