/**
* Constants.php
*
* This file is intended to group all constants to
* make it easier for the site administrator to tweak
* the login script.
*
* Written by: Jpmaster77 a.k.a. The Grandmaster of C++ (GMC)
* Last Updated: August 19, 2004
*/
/**
* Database Constants - these constants are required
* in order for there to be a successful connection
* to the MySQL database. Make sure the information is
* correct.
*/
//define("DB_SERVER", "mysql3.opentransfer.com");
define("DB_SERVER", "elks80org.ipagemysql.com");
//define("DB_SERVER", "localhost");
define("DB_VIEWER", "viewer");
define("DB_VPASS", "LhS50SeeIt");
define("DB_VPASS", "Seer68527");
define("DB_WRITER", "maintainer");
define("DB_WPASS", "Woody478");
define("DB_DBA", "dbadmin");
define("DB_DPASS", "LjK8100");
define("DB_USER", "maintainer");
define("DB_PASS", "Woody478");
define("DB_NAME", "elks80");
//define("DB_NAME", "ELKS80");
/**
* Database Table Constants - these constants
* hold the names of all the database tables used
* in the script.
*/
define("TBL_USERS", "MEMBER");
define("TBL_ACTIVE_USERS", "active_users");
define("TBL_ACTIVE_GUESTS", "active_guests");
define("TBL_BANNED_USERS", "banned_users");
/**
define("TBL_STUDENTS", "STUDENT");
define("TBL_ORG", "ORGANIZATION");
define("TBL_ORG_MEMBER", "ORG_MEMBER");
*/
/**
* Special Names and Level Constants - the admin
* page will only be accessible to the user with
* the admin name and also to those users at the
* admin user level. Feel free to change the names
* and level constants as you see fit, you may
* also add additional level specifications.
* Levels must be digits between 0-9.
*/
define("ADMIN_NAME", "admin");
define("GUEST_NAME", "Guest");
define("ADMIN_LEVEL", 9);
define("USER_LEVEL", 1);
define("GUEST_LEVEL", 0);
/**
* This boolean constant controls whether or
* not the script keeps track of active users
* and active guests who are visiting the site.
*/
define("TRACK_VISITORS", false);
/**
* Timeout Constants - these constants refer to
* the maximum amount of time (in minutes) after
* their last page fresh that a user and guest
* are still considered active visitors.
*/
define("USER_TIMEOUT", 10);
define("GUEST_TIMEOUT", 5);
/**
* Cookie Constants - these are the parameters
* to the setcookie function call, change them
* if necessary to fit your website. If you need
* help, visit www.php.net for more info.
* (402) 421-6363
Register to use this website