login

You are browsing the archives of "login."

The validation code for the pages you want private.

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 4: Privatizing your pages
Now let’s look at the status function. This function will be called on every page we want to protect. It will check [...]

The frontend form and the PHP user login validation 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 3: Frontend form and validation
In this example we’re going to have a simple page that will display username and password text fields if a user [...]

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 [...]