Re: [PHPLIB] MD5 & Forgot password From: Aaron Turner (aturner <email protected>)
Date: 04/10/00

Nope. What I recommend is that you do is do a MD5 of the MD5 and send the
results of that to their email account in your DB. Then they input that
string in a web form (which you use to authenticate the user), which then
allows them to choose a new password.

That's how I solved it once.

On Tue, 11 Apr 2000, Stephen Neander wrote:

> I need to write a PHP script to e-mail a user their password if they
> have forgotten it. I'm using PHPLIB and auth_user_md5 which stores the
> password as an MD5 hash. Is there a way of reversing the MD5 hash so
> that I can send them their password?
>
> --
> Kind regards
>
> Stephen Neander
> Director - Internet Development
> **********************************************************************
> WARNING
>
> This email message and any attached files may contain information
> that is confidential and subject of legal privilege intended only for
> use by the individual or entity to whom they are addressed. If you
> are not the intended recipient or the person responsible for
> delivering the message to the intended recipient be advised that you
> have received this message in error and that any use, copying,
> circulation, forwarding, printing or publication of this message or
> attached files is strictly forbidden, as is the disclosure of the
> information contained therein. If you have received this message in
> error, please notify the sender immediately and delete it from your
> InBox.
>
> Ace Internet Web site: http://www.ace.com.au
> **********************************************************************

--
Aaron Turner, Core Developer       http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization  http://www.linuxkb.org/
Because world domination requires quality open documentation.
aka: aturner <email protected>, aturner <email protected>, ion_beam_head <email protected>
The difference between `Unstable' and `Usable' is only two characters: NT

- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.