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


Create Huge Income From Your Web Site - 10 Easy Ways

The cost of setting up a web site is dirt... Read More

How to Build a Database Driven Web Site

If you ever want to create a state directory, article... Read More

Web Success Secret - Keep Your Visitors Interested

Visitors to your site come looking for information or solutions... Read More

Direct Sales and Your Corporate Website - A Creative Marketing Plan that Works!

Creatively marketing your corporate site takes time in the set... Read More

How Web Templates Are Helping Online Businesses to MultiplyTheir Income

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

Topics to Add When Creating an Alternate and Modern Medicine Web Directory

Alternate medicine finds its own place in the hearts and... Read More

Setting Up Your First Website

Q. Hey, Cathy: I'm just setting up a website. What... Read More

Creating a Sticky Web Site

When used to describe a web site, the term "sticky"... Read More

Tell me what your website does!

You know exactly what your organisation does and what your... Read More

Why You Need a Website

You hear a great deal about the Internet these days... Read More

Website For The Company Store

If your company own one or more stores, you might... Read More

The Disability Discrimination Act (DDA) & Web Accessibility

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

Flash Deadly Sins (That Can Kill Your Web Business)

Looks like every client wants a Flash site these days... Read More

PHP & Account Activation

When a user signs up at your website, you may... Read More

Improve Conversion Rates ? Effective Content

Your site is fast and getting traffic, but conversion rates... Read More

Why a CSS Website Layout Will Make You Money

Although CSS layouts have been around for years, they haven't... Read More

How to Listen on the Web

When building a relationship, listening is more important than talking.A... Read More

Where on Earth is Your Websitee?

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

Benefits Of Making Your Website Accessible To Disabled Users ? Part 2: The Business Case

The Disability Discrimination Act states that service providers must not... Read More

Abandonment - Why Visitors Don?t Turn Into Customers

Every good Internet business understands the value of conversions versus... Read More

HTML Editors 101 - Smaller Is Better

SiteSpinnerSiteSpinner is a user-friendly web site development tool that includes... Read More

Free Websites & Why You Should Avoid Them

It amazes me how many people try to build serious... Read More

The Top Ten Benefits of Having a Web Site

Do you need a web site? Are you considering getting... Read More

A Beginners Guide to Server Side Includes

An Introduction to Server Side IncludesBeginner? That's OK!While much has... Read More

Build a Web Site that Works...Even for a Safari Hobby!

My life's greatest passion is a safari hobby. And what... Read More

Should You Design Your Own Website?

If you're anything like most small business owners, you probably... Read More

9 Simple Steps to Create a Background Tiled Image Branded with Your Name

You have seen those web pages where they have the... Read More

Beautiful Web Sites Seldom Make More Sales

Designing an E-commerce Web site is not as simple as... Read More

7 Reasons Why Your Small Business Needs A Web Site

Many small businesses have the misconception that their business can... Read More

A Website Is Not Enough

Your ObjectiveYour small business needs an appealing and professional website... Read More

How to Create a Professional Web Site in 24 Hours

While creating a Web site may seem like... Read More

Launch Your Own Website Today - Its Easier Than You Think!

Thousands of people are now making a living online and... Read More

FREE Amber Alert Tickers for Your Website

Project Safekids provides webmasters a valuable tool which could save... Read More