I am a little new to MySQL and PHP. How do I make the password a temporary password.
So when they login the first time they need to reset the password?
Thanks for you help in advance.
Ben
>
> From: "Merlin, The Mage" <[EMAIL PROTECTED]>
> Date: 2002/11/13 Wed AM
I am using the MySQL password() function for the my passwords on the user
names. How do I decrypt the password in PHP to send it in an e-mail. I am
making a forgot your password page and want to have the user enter their
e-mail and have the password sent to them.
Please help!
--
I am using the following query:
$sql ="SELECT company, name, email FROM $table_name
WHERE email = '$_POST[email]' AND password = password('$_POST[password]')";
Then I am echoing the $email on my form (it works because the person has posted their
e-mail name when logging in). How can I