Re: Sending the user their forgotten password via emal??

From: Date: Thu, 26 Apr 2001 12:54:38 +0000
Subject: Re: Sending the user their forgotten password via emal??
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-8916@lists.php.net to get a copy of this message
Hi, well for the first question I have to admit that I was not able to figure out what you mean. But I can give you some thoughts on the second question. the actual sending part could be done with a mail-class. e.g. at http://phpclasses.upperdesign.com the more tricky thing is about the password. What do you do if your passwords are encoded by some one-way function like md5()? You *could* store the clear text pswd in some other location but that's also not good for security... You could also use a reminder phrase. But what to do if you forget the answer (which is usually my problem :-)). So perhaps it would be the best to generate a random password which gives them access again and then give the users the opportunity to set a new password. There might be a much better and more elegant way of solving the problem. Hope it helps Johannes ""DC"" <dave_news@NOSPAM-davecarrera.com> schrieb im Newsbeitrag news:9c8h5t$l90$1@toye.p.sourceforge.net... > Hi all > > I would like to offer my users the chance to have their username and > password sent to them via the email address stored. > > As i see it i have two issues > > (1) how do i do the verify email thing where the script send a click here to > confirm email address on registration application > > (2) how do i then send their details (username / password) to the confirmed > stored email address. > > I have looked around but cqnt find the answer..... > > 5 books on the shelf give no clue either.... > > Any help is most apreciated > > Thanks in Advance > > Dave C > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#8916) next »