This is a short tutorial that
This tutorial describes three
This step-by-step guide
One cool thing about php is
explains how you can protect
methods to authenticate a
presents a free
that you can fairly easily
a web page from users. The
user. First is by hardcoding
cut-and-paste example code
validate users before
code in this tutorial is
the user info in the script.
of a username and password
displaying content on a page
only about 5 lines long, and
Second, check the user
login web based system.
by page basis. Let's say you
will protect any PHP page.
information in the database.
Developed using PHP, MySQL
don't want to restrict the
HTTP Authentication involves
Third is by adding image
and JavaScript.
Updated
entire directory using
the browser displaying a
verification in the login
to include improved security
htaccess, this is a neat
window for the user to log
form where the user must
(PHP HTTP_POST_VARS).
alternative. This tutorial
in, once the user logs in
enter the random numbers
shows how to create a simple
the page is displayed. If
displayed in the image.
page-based login system
the user fails to log in, a
using PHP and mySQL.
failure notice is displayed.
Date: Aug, 19 2004 Date: Apr, 04 2005 Date: Jan, 22 2005 Date: Jul, 29 2000 |
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.
Date: Apr, 19 2005 |