One of the new great features with PHP4 is the session management feature. It allows you to store variables in a session 'object' during a user visit. This article discusses what a session and a session variable are, and what it can do.
Its a simple login tutorials, but the script that you will learn is a Big script, through this tutorial you can protect your files. And other cotent from ripping by people.
This is a short tutorial that explains how you can protect a web page from users. The code in this tutorial is only about 5 lines long, and will protect any PHP page. HTTP Authentication involves the browser displaying a window for the user to log in, once the user logs in the page is displayed. If the user fails to log in, a failure notice is displayed.
This tutorial describes three methods to authenticate a user. First is by hardcoding the user info in the script. Second, check the user information in the database. Third is by adding image verification in the login form where the user must enter the random numbers displayed in the image.
This step-by-step guide presents a free cut-and-paste example code of a username and password login web based system. Developed using PHP, MySQL and JavaScript.
Updated to include improved security
(PHP HTTP_POST_VARS).
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
One cool thing about php is that you can fairly easily validate users before displaying content on a page by page basis. Let's say you don't want to restrict the entire directory using htaccess, this is a neat alternative. This tutorial shows how to create a simple page-based login system using PHP and mySQL.
An authentication system allows certain online material to be accessible only to a select few. This tutorial illustrates the basic construction of an authentication system using PHP.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris