News 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

ZendCon 2006 Notes: Best Practices for PHP Development

PHPFreaks.com: Protecting php applications with PHPIDS

DevShed: Building a Logout Class

Stefan Esser's Blog: Watching the PHP CVS

Community News: PHP 5.2.1 Released


Community Events





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


interview code series conference development deployment api laravel bugfix community podcast developer framework introduction list tips release symfony language zendserver

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