Archive for October 2008

Creating the database for your PHP & MySQL login script

PHP & MySQL Login Tutorial Series
Pt1: Introduction
Pt2: Setting up the database
Pt3: The front end and user validation
Pt4: The code to privatize a page
Pt5: Logout function and clearing the session ID
Part 2: Creating the MySQL database
Before we get to programming, let’s setup the databases. You will need to create two different tables—one for user accounts and [...]

Simple PHP/MySQL user login tutorial. Make parts of your website private with a login.

PHP & MySQL Login Tutorial Series
Pt1: Introduction
Pt2: Setting up the database
Pt3: The front end and user validation
Pt4: The code to privatize a page
Pt5: Logout function and clearing the session ID
Part 1: Introduction
Sometimes it’s important to restrict access to certain parts of a website, and the best way to regulate this access is through a user [...]