Login   Register  
PHP Classes
elePHPant
Icontem

File: sessMan.cfg.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Albert van Dam  >  sessMan  >  sessMan.cfg.php  >  Download  
File: sessMan.cfg.php
Role: Configuration script
Content type: text/plain
Description: Config settings file
Class: sessMan
Session handler using PHP and MySQL
Author: By
Last change:
Date: 11 years ago
Size: 667 bytes
 

Contents

Class file image Download
<?

    $userTable 
"users";                    // Table in which your username / password combinations are
    
$userNameField "username";        // Field in the user table containing the usernames
    
$userGroupIDField "groupid";  // Field in the user table containing the group id
    
$passwordField "password";        // Field in the user table containing the password
    
$userIDField "userid";            // Field in the user table containing the user id
    
$otherConditionField "active";    // Field in the user table that contain a condition
    
$otherConditionValue "1";                // Value condition must meet
    
$textPass false;                            // If TRUE the password is text; If FALSE the password is MD5

?>