Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Posts
    115
    Tokens
    0

    Default Member Script Editing

    Hey everyone
    Have got a basic Member Login script which stores email addresses and usernames.
    The script works perfectly but I would like to add a forgot password form where the user types their email address and it emails them their password on file for them.

    Didn't know if anyone could help with this? You would be allowed to keep the member login script for your own use or to sell if you wish once complete.

    Thanks

  2. #2
    Join Date
    Nov 2008
    Location
    Cambridge, UK
    Posts
    901
    Tokens
    100

    Default

    The problem with emailing the password on database to them is that the password in the database should be hashed and salted which obviously can't be unencrypted on demand.
    we're smiling but we're close to tears, even after all these years

  3. #3
    Join Date
    Apr 2010
    Location
    Newcastle
    Posts
    655
    Tokens
    50

    Default

    What Matt said, although you could have it email a reset link to change their password.

  4. #4
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Heres what you do:

    Created a form where they input their email, send them an email containing a link such as: http://site.com/forgot.php?email={email}&hash=FG5tgdfGHD

    Make the forgot.php file add this key into their user table in the database and when they go there, check the hash, if it matches, then send them an email containing a new password

    Lew.
    Im not here to be loved, I love to be hated :-}


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •