Re: Entering password on a command line
| From: | Analysis & Solutions | Date: | Thu, 30 May 2002 03:15:56 +0000 |
| Subject: | Re: Entering password on a command line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99844@lists.php.net to get a copy of this message | ||
> To increase security, I would like to not put the bind password into the
> program, and instead have the user type it in. But, I'd like to have this
> done so that the password is not echo'd to the screen.
The one thing I can suggest is the readline functions:
http://www.php.net/manual/en/ref.readline.php
That may not be exactly what you want, but it's probably the closest
you're going to get to what you want.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409