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

WebReference.com: Globalize your Web Applications: PHP's Locale Package

SitePoint PHP Blog: How to Encrypt Large Messages with Asymmetric Keys and phpseclib

SitePoint PHP Blog: Youtube Videos in PHP: Categories, Search and Suggestions

Developer Drive: Creating a PHP User Survey: Writing to Database Tables

Joshua Thompson's Blog: Prototype-based programming in PHP


Community Events

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


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

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