Web Development Information

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:

Queensland integrator acquires web development company
ARNnet, Australia - Jul 21, 2008
Queensland integrator, Ordyss, has acquired boutique web development company, Logisto, and bolstered its management team and staff numbers. ...


Agile Web Development with Rails, Third Edition beta book
InfoWorld, CA - Jul 15, 2008
I mentioned in Are computing books obsolete? that Agile Web Development with Rails, Third Edition covers Rails 2, but is still only available as a beta ...


Loewy Design Showcases Award-Winning Web Development via Sleek ...
PR Web (press release), WA - Jul 21, 2008
By utilizing these newer web development techniques, Loewy Design delivered a great looking and functioning web experience, while yielding increased search ...


Banker and Tradesman Poll Names Beehive Media "Best of 2008" in ...
PR Web (press release), WA - Jul 21, 2008
The results of the Banker and Tradesman's First Annual Best of 2008 readers' poll found Beehive Media (http://www.beehivemedia.com) to be one of the top web ...


11 ways to save money by using e-business
Computerworld, MA - 46 minutes ago
Work Boxers, a blog about professional Web development also offers free downloads. At Smashing Magazine you can get information about software, ...


The Web Development Skills Crisis
Slashdot - Jul 12, 2008
snydeq writes "Fatal Exception's Neil McAllister raises questions regarding Web development skills in an era of constant innovation. ...


The Web development skills crisis
InfoWorld, CA - Jul 10, 2008
Last week, I talked about the continuum of Web development tools, ranging from traditional browser-based technologies all the way to applications deployed ...


Hong Kong's Exports Fall for First Time in Two Years (Update2)
Bloomberg - Jul 24, 2008
By Nipa Piboontanasawat July 24 (Bloomberg) -- Hong Kong's exports fell for the first time in more than two years in June as shipments to the US, ...


YourNet Web Solutions - Helping Charlotte Area Businesses Harness ...
PR Web (press release), WA - 10 hours ago
YourNet Owner, Dan Cupak, says this of the partnership, "Because of our passion for the creative and marketing sides of web development, combined with our ...


Web development with Wicket, Part 2: Reducing and re-using code
Java World - Jul 16, 2008
In this second installment in Nathan Hamblen's introduction to Web development with Wicket, you'll see how this open source, component-based Web application ...

Web-Development - Google News

home | site map
© 2006