Re: [PHP] decrypting passwords

2001-07-13 Thread py
You store it encrypted and you compare the two encrypted password for validation. You will send it to the user before encrypting it, how else ? And if user forget it, you reset a new one. py - Original Message - From: Steph <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 1

Re: [PHP] decrypting passwords

2001-07-12 Thread Rasmus Lerdorf
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