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

NetTuts.com: Integrating Two-Factor Authentication with CodeIgniter

Community News: Stefan Esser Named to eWeek's The 15 Most Influential People in Security Today

Zend Developer Zone: The ZendCon Sessions Episode 1:The State of PHP Security

Smackdown Blog: Rackspace Hacked Clients, Check Your Databases: Wordpress "wp_optimize" Backdoor

Evert Pot: Composer's bug now fixed


Community Events





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


unittest laravel install symfony2 code interview framework developer opinion introduction language list release series testing community podcast refactor threedevsandamaybe api

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