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

SitePoint PHP Blog: Getting Started with FluentPDO

DZone.com: Record and replay for testing of legacy PHP applications

DevSnippets.com: Getting Started with CodeIgniter and How to Create All Those Great Apps

Raphael Stolt's Blog: Testing Phing buildfiles with PHPUnit

Phpro.org: Introduction to PHP and MySQL


Community Events





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


podcast install composer symfony framework interview community library introduction version opinion tool series application security laravel package voicesoftheelephpant release language

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