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:


pen paper and inkwell


cat break through


What Business Owners MUST Know BEFORE They Commit To Having A Web Site

Q1.Why would I need a web site? A1.- Improve my... Read More

35% Revenue Increase? from Your Website!

2 Golden Rules for an Engaging Website35% of visitors fail... Read More

Creating Websites that Cater to Exam Preparations

One of the things that Internet excels is disseminating information... Read More

Let Marketing Manage Your Website Content

The definition of the phrase "Content Management" depends on what... Read More

How To Get Your Customers To Trust Your Website

Research reveals three important facts:1) The Internet is one of... Read More

10 Things You Should Be Monitoring On Your Website

Every business needs to know how it is doing. That's... Read More

In Business? 10 Reasons Why You Need a Website -- Now!

1) Word of Mouth The single most powerful form of... Read More

Give Your Business a Cash Infusion

Whether you have your own business already, or are looking... Read More

Credibility - 10 Ways to Build it on Your Website

If you have your own business website and you are... Read More

Top 5 Reasons to Track Your Website Traffic

#5 User Satisfaction: Learn what your visitors and site users... Read More

Whats Your Business Online Attitude?

This article was prompted by some customer support work I... Read More

You Need a Website!

No matter the size of your business, having a web... Read More

Where on Earth is Your Websitee?

You've just finished congratulating your marketing team. After six months... Read More

How Web Templates Are Helping Online Businesses to MultiplyTheir Income

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

The Disability Discrimination Act (DDA) & Web Accessibility

There's been widespread speculation about the new legislation being introduced... Read More

Developing State-enabled Applications With PHP

Installment 1Developing State-enabled Applications With PHPWhen a user is browsing... Read More

50 Ways To Use Your Website

A website is the most versatile and cost-effective marketing tool... Read More

Website Strategy!

A website lets you put your products in front of... Read More

High Quality Website at Low Cost

Although designing a great web site is an important part... Read More

Linking Out is Good

Many websites I come across don't have a single link... Read More

Duplication vs. Individualism

How can we add Word Rich Content to our Websites... Read More

I Did It: Six Months to a Successful Website

For years now I've been looking to start my own... 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

Website Imperatives and Solutions

When you take a look at the most visited sites... Read More

Ever Wondered What Challenges Other People With Their Web Site?

Have you ever wondered what challenges are faced by other... Read More

Make Your Communication Come Alive

Design and layout can make your communication come alive and... Read More

Learn to Build a Better Online Business Website Using Keywords and Content

Are you aware that 90% of the websites on the... Read More

A Network Of Web Sites Is Not Enough!

The big thing these days is your ability to capture... Read More

What is Blogger.com?

In the late 1990's three San Francisco based web developers... Read More

Websites: You Get What You Pay For!

So you finally decided to invest in a web presence... Read More

10 Simple Steps: Its Magic If You can E-Mail You can Update Your Web Page Dynamically

Dynamically Update Your Web Pages Via E-MailIf you can Send... Read More

Server Side Includes (SSI) with ASP

Server Side Includes (SSI) with ASP People often... Read More

What Hosting Companies Dont Tell You, Could Hurt You?

Did you know that hosting companies overcrowd their servers despite... Read More