Home | Site Map           
   
     

PHP & Account Activation


When a user signs up at your website, you may want to verify their email address so you aren't getting bogus accounts in your database. A few lines of code can send an email to the address specified, containing a welcome greeting and link to activate their account. PHP is the best way to both send the emails and do the activation process.

When the link in the email is clicked, a PHP page is loaded that performs a couple simple validation techniques, and if valid, it activates the account. PHP checks for the email address in the database and makes sure the random variable attached to the URL is the one generated at account creation to be used for activation. If these conditions are met, the account is activated.

Some sites also allow the user to resend the activation email, which makes the account activation code a little longer. PHP then has to delete the value for the old activation variable and insert a new randomly generated variable in the database. The script also has to send the email again, but with a different messaged attached - like "This is a resent confirmation email to activate your account with us".

I am a PHP website developer at http://www.simplyphp.com with 6 years experience.


MORE RESOURCES:

Yahoo! News Search Results for website design
Yahoo! News Search Results for website design

Website a waste
(Re: City pays $128,000 for new website design) Wow -- $128,000 for this amateur website? Another colossal waste of my property tax dollar. Ranks right up there with the addition to the arena that I'll never use and the new bridge built so Bulls fans can get to Wendy's quicker after the game.[...]
Rokstok.com Releases New Site Re-Design and Adds Hundreds of New Ring Styles
Rokstok.com, Inc. announces its website re-design aimed at enhancing the online experience. The shopping cart offers many significant features including a diamond search, virtual sorting tray, build-a-ring function and a consolidated checkout process.
Design, political issues slow push for breath tests in cars
Almost every state, including Massachusetts, has a law requiring some convicted drunk drivers to install ignition locks in their vehicles. Drivers are forced to blow into a tube connected to a device that measures the blood-alcohol level. If a reading is too high, the engine won't start. Law - Blood alcohol content - Automobile - Alcohol - Health
BELLEVILLE: New district website could be ready for start of school
On Aug. 23, Van Buren Schools' technology director Harvey Chesney presented an update on the new district website platform set to be launched - hopefully - for the start of school on Sept. 7.
Design Build Construction Company The Korte Co. Architects New Website and On...
ST. LOUIS, MO--(Marketwire - 09/02/10) - The Korte Co. has launched its Drupal-based website at http://www.korteco.com . The updates to the site reflect the "build smart" mantra of the St. Louis based, Design-Build Construction Company. By enhancing the design and usability, The Korte Co. deliver a rich portfolio of design build projects in a multitude of industries ...

 

 

PeoplesChoice | Workstation | PhotoLog | Web Design | Photo Blog | Web Development | Articles Searches | Daily Blog

Copyright 2008 All Rights Reserved Web Designers