Jump to content
MakeWebGames

MD5 password (email sending)


Nicholas

Recommended Posts

hi, im wondering... does anyone know how to send users their password through an email (hotmail).

i have the script i created myself to send everyone on the game an email and i can show the users login name.

but cant figure out how to dectype the MD5 passwords in the email... tried researching on google and PHP.net but not had any luck...

i did try ".md5($???['password'])." but that just sent me the numbers/letters instead of the actual password.

probably got to do functions or whatever with hash bits but i dont know how...

can someone help me please?

Link to comment
Share on other sites

You can do this on sign up by sending their password in an email before you turn the password into a hash for the database.

But why do you want to send a user's password in an email anyway? It's very insecure and the user doesn't expect you to use their password in any way other than authenticating them. Besides, what's the point of reminding a user what their password is, just seconds after they've entered it into a website?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...