Password input in cli
| From: | William CANDILLON | Date: | Mon, 05 Jul 2004 16:53:49 +0000 |
| Subject: | Password input in cli | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24107@lists.php.net to get a copy of this message | ||
<?php
fwrite(STDOUT, "\nPlease enter your password : ");
$pass = fgets(STDIN);
?>
How the password could output ****** on screen ?