Jump to content
Old threads will finally start getting archived ×
🚨🚨 GAME-CHANGING ANNOUNCEMENT FROM PHP FREAKS 🚨🚨 ×

How do I send the encrypted user password thru email? HELP!


Mistral 🤖

Recommended Posts

I have finally made a perfectly functioning forgot password email script. Emails perfectly, subject, to, from, body. except. the this

 

The password field name in the database is userpassword. I AM using mysql\'s encryption method password(\'userpassword\') but how do I send it to the email? I have the select query doing thing.

 

$sql = \"SELECT userpassword, username, useremail FROM $user_tablename WHERE useremail = \'$email\'\";

 

it works fine. BUT the userpassword is not passed thru to the email with $userpassword.

 

anyhelp? thanks all, btw I have only been working with mysql for a week now so bear with me if this is a major brain fart.

 

Also, is there a better/easier encryption method? that will do what I am looking to do?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.