News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NETTUTS.com:
Creating an Advanced Password Recovery Utility
May 06, 2009 @ 08:47:49

On the NETTUTS site today there's a new article (continuing on from this tutorial) looking at how to make a "forgot your password" system to add on to their current login technique.

In my last tutorial, 'A Better Login System', a few people commented on how they would like to see a tutorial on password recovery, which is something you don't always see in user access tutorials. The tutorial I am bringing you today will deal with just that. Using mySQLi, we will learn to recover unencrypted and (one-way) encrypted passwords.

They give you what you'll need to set up the database for the user information and the PHP code you'll need to connect to it and fetch the user's information. The script then generates an email with a custom link that will take the user to a page asking them to answer a security question before they can continue.

0 comments voice your opinion now!
password recovery security question link email login


blog comments powered by Disqus

Similar Posts

SecurityFocus.com: PHP Security From The Inside (Interview with Stefan Esser)

Chris Hartjes' Blog: Don’t Fear The Command Line: Using CakePHP Shells

Zend Developer Zone: PHP Security Tip #13

Codewalkers.com: The PAVISE of Security

Fabien Potencier's Blog: Twitter and Emails are good; Postcards are better


Community Events











Don't see your event here?
Let us know!


opinion unittest application language package install composer overview example code release framework introduction hack component symfony2 security facebook hhvm podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework