Chapter 6: Central User (Florida web design) Management System 185 require_once

Chapter 6: Central User Management System 185 require_once user_mngr.errors ; require_once user_mngr.messages ; require_once DB.php ; require_once $APP_FRAMEWORK_DIR . / . constants.php ; require_once $APP_FRAMEWORK_DIR . / . $APPLICATION_CLASS; require_once $APP_FRAMEWORK_DIR . / . $ERROR_HANDLER_CLASS; require_once $APP_FRAMEWORK_DIR . / . $AUTHENTICATION_CLASS; require_once $APP_FRAMEWORK_DIR . / . $DBI_CLASS; require_once $APP_FRAMEWORK_DIR . / . $USER_CLASS; require_once $TEMPLATE_CLASS; $MIN_USERNAME_SIZE= 3; $MIN_PASSWORD_SIZE= 3; $DUMMY_PASSWD = 1234567890 ; $ROOT_USER = kabir@evoknow.com ; $SECRET = 916489; $CHAR_SET = charset=iso-8859-1 ; // Application names $USERMNGR_MNGR = user_mngr.php ; $USERMNGR_FORGOTTEN_APP = user_mngr_forgotten_pwd.php ; $USERMNGR_CHANGE_PWD_APP = user_mngr_passwd.php ; /* ————–START TABLE NAMES ———————- */ $APP_DB_URL = mysql://root:foobar@localhost/auth ; $AUTH_DB_TBL = users ; /* ————–END TABLE NAMES ———————- */ $STATUS_TEMPLATE = usermngr_status.html ; $USERMNGR_MENU_TEMPLATE = usermngr_menu.html ; $USERMNGR_USER_TEMPLATE = usermngr_user_form.html ; $USERMNGR_PWD_REQUEST_TEMPLATE= usermngr_forgotten_pwd.html ; $USERMNGR_PWD_EMAIL_TEMPLATE = usermngr_forgotten_pwd_email.html ; $USERMNGR_PWD_RESET_TEMPLATE = usermngr_pwd_reset.html ; $USERMNGR_PWD_CHANGE_TEMPLATE = usermngr_pwd_change.html ; $ADMINISTRATIVE_USER = 9; $STANDARD_USER = 1; $USER_TYPE = array( 9 => Administrator , 1 => Standard User ); ?> Make sure you change this file to adjust the file and directory path information as needed.

Leave a Reply