Well, to install it.
1. Create a file called connect.php and define the connection variables. Here is an example:
PHP Code:
<?
// Variables that are used are the following
// $DB_SERVER : Name of MySql server by default "localhost"
// $DB_USER : User name taht is used to connect to MySql
// $DB_PASS : User password for MySQL conenction
// $DB_NAME : Name of database to use
$DBSERVER = "yourserver here";
$DBUSER = "DB User Name Here";
$DBPASS = "DB Password Here";
?>
2. Put the membercheck.php file in the folder with connect.php
3. Put an include for membercheck.php at the top of each page you want to secure.
4. Done!