News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
PHPEasyStep.com:
Sending forgotten password
May 29, 2006 @ 04:43:44

On PHPEasyStep.com, there's a new tutorial talking about adding "send forgotten password" functionality to your member site.

Mark Jackson is one of our member but he forgot his password for login to our website. We'll send him password to his e-mail address. In this tutorial create 2 file and 1 database - forgot_password.php, send_password_ac.php and the members database.

The rest of the tutorial is all code and SQL statements, including the HTML for the form the users fill out. Basically, it just grabs the password value from the database and sends it along in an email.

Of course, the structure is here for the application, but it's not very secure - sending the password in plain-text like that. Personally, I'd have md5 hashed passwords and reset the password to a new one each time the "request my password" was made. Then, they can come in and reset the paasword when they log in.

1 comment voice your opinion now!
php send forgotten password database email form html php send forgotten password database email form html




Similar Posts

PHPBuilder.com: Creating an Online Survey - Part 2

PHPBuilder.com: PHP and Adobe Flex

DevShed: Using Recursive Methods in Object-based PHP Applications (Part 2)

Scott Johnson\'s Blog: A PHP News Roundup

Community News: Ottawa Food Bank Improve Distribution Databases via PHP


Community Events











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


releases security release code mysql conference application package zend framework ajax zendframework cakephp PEAR database PHP5 book developer job example

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