Simple Password Question.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

bdlang
Forum Contributor
Posts: 395
Joined: Tue May 16, 2006 8:46 pm
Location: Ventura, CA US

Post by bdlang »

tecktalkcm0391 wrote:The reason i am aiming for encryption is that I want the users to beable to retreive their password, and get it sent to them.
Not necessary. If a user requires his password sent to them, create a random 'temporary' password (and storing a salted hash from it, of course), and email them the new password. They can login again and if necessary, use a facility to store a password they prefer. This same basic method is pretty much the norm.
Post Reply