Re[2]: [PHP] Decrypt Password
| From: | empty | Date: | Tue, 26 Nov 2002 22:56:12 +0000 |
| Subject: | Re[2]: [PHP] Decrypt Password | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126197@lists.php.net to get a copy of this message | ||
Hi
you can use password('password_var_name')
for example (insert into bla password('$password'));
and
after selecting the password you can use and no need encrypt decrypt
the value
echo(password('password')); will write the real value...
>> I would like to make a "Lost Password" part to my member's area script
>> but the problem is, the passwords in the database are encrypted using
>> the password function. How could I decrypt it for a lost password thing?
CB> You don't. You create some sort of mechanism to allow them to change
CB> their password.
CB> Chris
Özgür
empty@graph-ist.com