Friday, July 13, 2001 7:04 AM
Subject: [PHP] decrypting passwords
User enters a new password through a form. Then it is put in the table by
the following. ($userid is the username)
$query = mysql_query("update users set password =
encrypt('$password','$userid') where u
You don't decrypt it. You'll need to store it unencrypted if you want to
be able to send it out.
-Rasmus
On Thu, 12 Jul 2001, Steph wrote:
> User enters a new password through a form. Then it is put in the table by the
>following. ($userid is the username)
>
> $query = mysql_query("update u
User enters a new password through a form. Then it is put in the table by the
following. ($userid is the username)
$query = mysql_query("update users set password = encrypt('$password','$userid') where
userid = '$userid'")
or die("Couldn't execute query.");
I need to know how to decrypt the
3 matches
Mail list logo