conf.php

来自「sabreipb 2.1.6 utf-8中文版本!」· PHP 代码 · 共 73 行

PHP
73
字号
<?php// EXTERNEL DB// THIS ONE GOOD FOR PHPBB 2 BOARDS$LOGIN_CONF = array();/*** REMOTE DB SERVER* localhost is usually good*/$LOGIN_CONF['REMOTE_DB_SERVER']   = 'localhost';/*** REMOTE DB PORT* leave  blank if you're not sure.*/$LOGIN_CONF['REMOTE_DB_PORT']     = '';/*** REMOTE DB DATABASE NAME* This is the name of the database you want to* authorize against*/$LOGIN_CONF['REMOTE_DB_DATABASE'] = 'testphpbb';/*** REMOTE DB USER* This is the MySQL username for the database* you want to authorize against*/$LOGIN_CONF['REMOTE_DB_USER']     = 'root';/*** REMOTE DB PASSWORD* This is the MySQL password for the database* you want to authorize against*/$LOGIN_CONF['REMOTE_DB_PASS']     = '--pass--';/*** REMOTE DB TABLE NAME* This is the table name which holds your external members*/$LOGIN_CONF['REMOTE_TABLE_NAME']  = 'phpbb_users';/*** REMOTE DB TABLE PREFIX* This is the table prefix for your remote DB*/$LOGIN_CONF['REMOTE_TABLE_PREFIX']  = '';/*** REMOTE DB FIELD NAME* The name of the name field in the member's table*/$LOGIN_CONF['REMOTE_FIELD_NAME']  = 'username';/*** REMOTE DB PASSWORD FIELD* The name of the password field in the member's table*/$LOGIN_CONF['REMOTE_FIELD_PASS']  = 'user_password';/*** REMOTE DB EXTRA QUERY* Any extra query to run (eg: AND status='active')*/$LOGIN_CONF['REMOTE_EXTRA_QUERY'] = ' AND user_active=1';?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?