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/liveuser_test_example5';
$db = MDB2 ::connect ($dsn);
if (PEAR ::isError ($db)) {
echo $db->getMessage () . ' ' . $db->getUserInfo ();
$db->setFetchMode (MDB2_FETCHMODE_ASSOC );
'authContainers' => array (
'lastlogin' => 'lastlogin',
'is_active' => 'is_active',
'lastlogin' => 'timestamp',
'is_active' => 'boolean',
'permContainer' => array (
'storage' => array ('MDB2' => array ('dsn' => $dsn, 'prefix' => 'liveuser_')),
Documentation generated on Mon, 11 Mar 2019 15:40:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|