News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

WebReference.com:
User Personalization with PHP User Registration
April 17, 2009 @ 09:37:39

WebReference.com has posted the fourth part of their series on user personalization. This article focuses on the registration page for their sample application.

In this article we look at the registration script for our bookmark system. The script is basically responsible for admitting new users to our system. As you will see, it sets certain requirements that a new user must meet before they are admitted and also implements some data checking for security purposes, since it is going to receive a lot of 'outside' data that it needs to incorporate into the application.

The script takes in a username, password, email address and optional values for an image and a personalized color scheme. Some simple validation is done and escaping on the strings before they're put into the MySQL database. They also briefly mention some error handling that can be done by logging issues to the web server's error log.

7 comments voice your opinion now!
user registration personalization custom tutorial


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Using the Stack Exchange API with PHP (part 2)

NETTUTS.com: How to Set Up a Killer WordPress Testing Environment Locally

Procurios Blog: Fragment Cache - an introduction / PHP

Mind Tree: Testing your web application

Paul Jones' Blog: Solar: From Blog to Docs


Community Events











Don't see your event here?
Let us know!


security database install performance package overview unittest podcast release composer hhvm hack introduction opinion facebook language framework symfony2 component application

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework