Webmaster Papers








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.

RELATED ARTICLES


Three Things Every Website Should Do
When I started my company in 2002, I knew I needed to have a website. Why? To provide credibility! How can a company be "real" in this day and age if it doesn't have a website? So, like many companies, I published an informational website that explained "here's who we are, and here's what we do".
Make Your Communication Come Alive
Design and layout can make your communication come alive and your message immediately apparent. Now, with so much technology at hand, design becomes much easier, but you must develop the ability to plan and visualize what you want to convey. Then decide what will appeal to your readers and help them understand the material.
Credibility - 10 Ways to Build it on Your Website
If you have your own business website and you are trying to sell something, then it is imperative that you are able to establish and maintain credibility. Why is this important? If you are going to ask someone to make a purchase from you, then you need to show them why they should purchase from you rather then your competitor on another site.
Study Your Sites Performance Via Hit Tracking
Knowledge is power.
Web Accessibility: The Basics
What is web accessibility & why is it important?
The Two Most Common Mistakes That Scare Away Web Visitors
Can you imagine the hypocrisy of spending thousands of dollars, countless hours, and boatload of resources to create a marketing tool that actually sends prospects running for the hills? It might seem crazy, but a overwhelming majority of websites are doing just that.
Preventing Repeat Form Submission Using PHP Sessions
We've all seen those messages on some websites warning not to click a button more than once or negative consequences, like paying a bill twice, may result. Sometimes we can cause these problems by hitting the back or refresh buttons. In this article I will explain a methodology whereby a site can ensure each form is submitted only once, thereby demonstrating that such warnings are unnecessary and, depending on the nature of the problems caused, worth repairing immediately. Let's begin by taking a look at the process we are studying: Form Submission. As pedantic as it may seem, it will be worthwhile to detail each of the steps in this process: Visitor requests a page from the server which has a form on it.Server retrieves form and sends to user.User enters data on form and submits to server.Server processes form data and returns resultant page. The scenario we now need to analyze is when the user re-triggers a previous form submission process. What we need to find or create is something which changes during the form submission process which does not depend on the specific form being submitted and which we can tell changed. That was a loaded sentence which fully details our solution, so let's break it down. Find or create something which changes during the form submission process,does not depend on the specific form being submitted, andwe can tell changed.
Setting Up Your First Website
Q. Hey, Cathy: I'm just setting up a website. What should I do?
From Concept to Website
You've decided to create a website to market your products or services. More and more people start their information searches online, so having a website is the logical next step. But without web development skills or knowledge, how do you build and market a website?
Is Your Website Innovative? Increase Your Business Over Night!
While studying online for IT investment opportunities, I found that one main factor was constant. All of the biggest money makers have eye-catching, simple, innovative, and the cleanest websites online!
Planning Your Website for Success
Most people know they need a website in order to publicise and promote their business but very few people know what they want in their website. Fewer still are those who can actually sit down and plan their websites well.
Top 10 Webmaster Challenges
Webmasters deal with a myriad of complex design challenges every day. This article will discuss the top ten challenges and provide solutions and tips for solving each problem.
12 Essential Tips to a Professional Business Website
1. Choose a big enough font size. A size 12 is good for easy readability.
Guide to Internet Business - Website Setup
After planning the design and content of your website, it's time to actually physically set up your website. This is the step where you put all your designs and plans into action, creating a website that will attract visitors and earn income.
How to Build a Database Driven Web Site
If you ever want to create a state directory, article directory, dating site or link directory, you need to know about creating database driven web sites. This may seem like a daunting task at first, if you have never done it, however I was in the same boat as you. It is not as difficult as you think.
How to Maximize the Value of Every Visitor to Your Website
While most marketers are beginning to understand the critical importance of maximizing conversion rates, few are tracking or working to maximize another critical measurement of website effectiveness.
How to Get a Better Web Site ROI
Better Web Site ROI
Guidelines for Web Page Optimization
Below, I have listed 8 simple steps that you can take to optimize your web pages. By following these, you will improve your chances of increasing your rankings:
Ecommerce for Beginners
Like most average persons, I wanted some extra money to supplement my regular income. I had considered a part time second job at times, but hated that option because it would take me away from the family, make me more tired and probably just pay minimum wage. I also wanted to be able to work from home.
Sticking To Your Plan
So you have a good idea for a business and decided that the Internet would be the perfect place to start it.