Re: [PHP-DB] Displaying Password

[email protected]
Newsgroups php.db
Message-ID <472B2914AC22475D9E8A015755930735@KapuPC>
Hi,

You can't be serious with that. You should try The next code:

$UserPassword = str_repeat("&#8226;", strlen($UserPassword));

Enjoy. (I hope that you are not a programmer)

--------------------------------------------------
From: "Karl DeSaulniers" <[email protected]>
Sent: Tuesday, December 22, 2009 6:12 AM
To: <[email protected]>
Subject: [PHP-DB] Displaying Password

> 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
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.