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

Mathias Verraes: Named Constructors in PHP

Rafael Dohms' Blog: Managing Test Users in Facebook

NetTuts.com: Understanding Hash Functions and Keeping Passwords Safe

Felix Geisendorfer's Blog: Two Tutorials - Title to Slug & Dependencies with If

Brian Swan's Blog: Sorting Azure Table Entities by Timestamp with PHP


Community Events

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


language part2 yii2 composer php7 programming community application framework symfony series opinion example list interview podcast laravel project api introduction

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