HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/kamforum.ru/sources/loginauth/external/conf.php
<?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';



?>