News 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

Charlie Key's Blog: Transmitting data between Flex and PHP using JSON

DevShed: Using Directory Iterators and MySQL with Adapter Objects with PHP

Davey Shafik: Everything You Need to Know About OpCode Caches

Content with Style: Getting phpunit to work with MAMP

SitePoint PHP Blog: 13 Steps to Get eZ Publish 5.x to Work on Homestead


Community Events





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


podcast zendserver bugfix symfony release conference list interview language deployment series development framework tips api voicesoftheelephpant introduction code community laravel

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