<?php
 
    $db_config['server']='localhost';
 
    $db_config['database']='test';
 
    $db_config['user']='root';
 
    $db_config['pass']='';
 
   
 
    define ('_DEFAULT_TIMEOUT',1800); //Session timeout minutes
 
    # 
 
    # If this constant is defined, then the Timeout behaves 
 
    # relative to the logintime. that means if you login now,
 
    # regardeless to your amount of activity you will be 
 
    # timed out in _DEFAULT_TIMEOUT minutes.
 
    # If this is not your intension 
 
    # just comment out the following line.
 
    
 
    define ('_TIMEOUT_ABSOLUTE',1); 
 
    
 
    require_once ('database.php');
 
    $database = new database( $db_config['server'],
 
                 $db_config['user'], $db_config['pass'], $db_config['database'],
 
                  '' );    
 
?>
 
 
 |