Google shows this article on one of the first positions: http://evolt.org/PHP-Login-System-with-Admin-Features, but what is missing is verification of email address at initial registering. One would expect email like this:
|Subject: Action Required: Some.new.website Membership Activation
Thank you for registering on some.new.website.com !To protect your privacy and prevent unauthorized sign-ups, please take a moment to verify your registration by clicking on the link below. Doing so will activate your membership.
Click here to activate
Just by clicking the link above, you’ll join many other members.Thanks for letting us welcome you to some.new.website.com!