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

Jonas Construction Focuses on Clients, Updates Website for Construction and S...
Jonas Software, a leader in construction and service management software, shifts their focus to clients with a newly redesigned website. The new website was conceived and designed by Agaric Design and features improved navigation as well as full integration of contact forms for better customer response times.
F1's Hamilton "Lewis's Lowdown" on new website (Motorsport.com)
Following his sensational victory at yesterday's Santander British Grand Prix, Vodafone McLaren Mercedes Formula 1 driver Lewis Hamilton offers an exclusive insight into his thoughts and emotions immediately after the race on his re-designed official website www.lewishamilton.com.
Leading Custom Home Designer and Builder Augusta Home Builders Announces Re-L...
Mount Param Homes of Augusta, one of Georgia's premier custom home design and construction firms, is very pleased to announce the re-launch of their website with additional resources for people who wish to design their own homes. (PRWeb Jul 7, 2008) Read the full story at http://www.prweb.com/releases/homebuilder/augusta/prweb1078034.htm
Segway CTO leaves to join Apple design team [Doug Field] (Valleywag)
Doug Field, described as "the driving force behind Segway" on the company's customer forums, is leaving Segway for Apple, where his role will be "a VP of product design" according to a Segway... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]
City of Melfort upgrades website with new look and more After almost eight mo...
After almost eight months of planning, the City of Melfort recently re-launched its website in early June. ?We wanted to go to more modern colors and look, ? City Clerk, Heather Audette said.

 

 

Food     PeoplesChoice | Web Starter | PhotoLog | Workstations | Web Design | Photo Blog | Articles Searches | Daily Blog     MP3

Copyright © 2008 All Rights Reserved TheWebStylist.com