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.

In The News:

Web development: A gap in education  Tennessee Tech Oracle
What Is Web Design?  Technology Zimbabwe
Top 3 Programming Languages for iOS App Development  WhaTech Technology and Markets News
A Conversation With … Krista Peryer  Springfield Business Journal
John Caiozzo  Search Engine Journal
The Future of Web Development  Business 2 Community

So You Want To Have A Website

So you want to have a website. You have gone... Read More

7 Questions to Understand Your Customer Better

Customer service questionnaires can help your clients better understand their... Read More

Guidelines for Web Page Optimization

Below, I have listed 8 simple steps that you can... Read More

Bring Your Visitors Back Clamoring for More! Maintain and Improve Your Web Site Weekly - Part 1

80% of your Web site is Maintenance!Once your Web site... Read More

Successful Commercial Sites

Do you make your website just to entertain yourself or... Read More

Web Accessibility: The Basics

What is web accessibility & why is it important?Web accessibility... Read More

How To Start Your Own Website

I'm one of those people that always wanted a website,... Read More

Your Future Profit Is In The Stars

You don't believe in astrology but you check your horoscope... Read More

Web Design for the Professional Magician Part I - Selecting the Perfect Domain Name

Selecting the Perfect Domain NameThe first issue I have with... Read More

Things to Consider Before Starting a Website

In the time that I have been using the Internet,... Read More

Allocating Your Web Site?s Budget Properly

I had a client say something to me the other... Read More

Top 7 Reasons Why Your Business Needs a Website

A website provides invaluable advantages for businesses who have one.7... Read More

Link Trades That Waste Your Time

Never has competition been so difficult in the Internet world.... Read More

The Two Most Common Mistakes That Scare Away Web Visitors

Can you imagine the hypocrisy of spending thousands of dollars,... Read More

Having a Domain Name And Web Site Gives Your Business The Key To The Door

Just like all things in life, the ways to run... Read More

My Yahoo Search - Beyond Bookmarks

Yahoo has long offered email, an online calendar, notes, bookmarks,... Read More

Nonsense! Why Do I Need a Website?

"I don't sell anything online, I don't advertise online, in... Read More

The Power Of CPanel

cPanel is a control panel for your website and allows... Read More

3 Reasons Why You Need URL Rewriting Module To Enchance Your Web

URL rewriting are major needs for your sites that produce... Read More

Guide to Internet Business - Design and Content

After deciding what kind of internet business you want to... Read More

How Web Templates Are Helping Online Businesses to MultiplyTheir Income

Web templates by nature are created to aid and ease... Read More

What and How to choose the Right Keywords for Mega Traffic

Keywords in Search Engine Optimizing and Search Engine Marketing are... Read More

Better Web Site ROI: Efficient Online Business with SEO, PPC, Split Testing, and Forums

If you're looking for better web site ROI, chances are,... Read More

Developing A Website: 10 Tips For Getting Started

1. Be clear on your purpose.Building a website can be... Read More

Non-Profits: Successful Online Strategies

More and more non-profit organizations are developing websites to help... Read More