Displaying Password
| From: | Karl DeSaulniers | Date: | Tue, 22 Dec 2009 05:12:48 +0000 |
| Subject: | Displaying Password | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-46726@lists.php.net to get a copy of this message | ||
Never mind.
Got it.
$replaceArray = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0');
$replaceWith = array('•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•','•');
$UserPassword = str_replace($replaceArray, $replaceWith, $UserPassword); //hide pasword
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com