News Feed

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

Building Site Registration for Web Application Security
October 29, 2008 @ 09:33:02

DevShed continues their look at web application security with part six of the series - a look at creating a registration form your site's visitors can use to create accounts/logins.

In this article we will be exploring the registration script of our site. This script is responsible for registering new users for the website. We will also be looking at database security; since the registration script also uses a database table, we will implement some of the concepts that we will be discussing.

Their example is relatively simple - it checks to ensure that none of the fields are empty, that one password matches the other and that the email address is in a valid format (using a regular expression). If it passes completely, its dropped into a MySQL database table that stores current user information.

0 comments voice your opinion now!
site registration tutorial application security mysql login password

blog comments powered by Disqus

Similar Posts

Vinu Thomas' Blog: Modifying your MySQL databases to be UTF-8 compliant

DevShed: Using the Memento Pattern with a File Reading Class

Christoph Hochstrasser: PHP Socket Programming, done the Right Way (tm)

Brian Cline's Blog: Installing PHPUnit on WAMPServer

SitePoint PHP Blog: How to Implement User Log-in with PayPal

Community Events

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

podcast framework version api example interview introduction release laravel5 library series laravel opinion security language php7 voicesoftheelephpant extension list community

All content copyright, 2015 :: - Powered by the Solar PHP Framework