Decrypting MD5

wxdqz

New Member
Hi,
I have a password field that is inserted into my database with...

$sql="INSERT INTO table(user_name,password,email,address1) ".
"VALUES ('$user_name','". md5($password1) ."','$email')";

The password is encryped with MD5 then entered into the database. I want to have a forgotten password function, so you enter the username, and it e-mails the password to you. But just using "select password,email where username='$username'" will only send the password encrypted. Is there anyway on decryping it 1st, then sending it?
Cheers
/v00d00
 
Back
Top