Source for file conf.php
Documentation is available at conf.php
require_once 'LiveUser.php';
// Plase configure the following file according to your environment
//$dsn = '{dbtype}://{user}:{passwd}@{dbhost}/{dbname}';
$dsn = 'mysql://root:@localhost/pear_test';
echo $db->getMessage () . ' ' . $db->getUserInfo ();
$db->setFetchMode (DB_FETCHMODE_ASSOC );
'remember' => 'rememberMe'
'redirect' => 'home.php',
'authContainers' => array (
'allowDuplicateHandles' => 0 ,
'authTable' => 'liveuser_users',
'authTableCols' => array (
'auth_user_id' => array ('name' => 'auth_user_id', 'type' => ''),
'handle' => array ('name' => 'handle', 'type' => ''),
'passwd' => array ('name' => 'passwd', 'type' => ''),
'lastlogin' => array ('name' => 'lastlogin', 'type' => ''),
'is_active' => array ('name' => 'is_active', 'type' => '')
'permContainer' => array (
PEAR ::setErrorHandling (PEAR_ERROR_RETURN );
$usr->setLoginFunction ('logIn');
$usr->setLogOutFunction ('logOut');
die ($e->getMessage () . ' ' . $e->getUserinfo ());
Documentation generated on Mon, 11 Mar 2019 13:56:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|