Re: Displaying Password
| From: | Karl DeSaulniers | Date: | Tue, 22 Dec 2009 22:44:53 +0000 |
| Subject: | Re: Displaying Password | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46729@lists.php.net to get a copy of this message | ||
Thanks for the blunt response.
No, I am not a programer yet. Still very novice.
I was aware that there was a way to do that, but I am still learning.
Thank you for the tip.
Karl
On Dec 22, 2009, at 11:44 AM, <kapuoriginal@gmail.com> <kapuoriginal@gmail.com> wrote:
Hi, You can't be serious with that. You should try The next code: $UserPassword = str_repeat("•", strlen($UserPassword)); Enjoy. (I hope that you are not a programmer) -------------------------------------------------- From: "Karl DeSaulniers" <karl@designdrumm.com> Sent: Tuesday, December 22, 2009 6:12 AM To: <php-db@lists.php.net> Subject: [PHP-DB] Displaying PasswordKarl DeSaulniers Design Drumm http://designdrumm.comNever 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--PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php