In part 4 of my PHP Message Board tutorial I show you how to create an account activation script.
In the previous video PHP Message Board pt 3, I created a user registration script. As an added security measure it sent an email with a link to this activation script. The new user will only be able to login if they click on that link.
At that point we check that the userid and 32 character key are the same. If they are we activate the account.