GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 17-Nov-2006, 14:38
mrjameer mrjameer is offline
New Member
 
Join Date: Aug 2006
Posts: 19
mrjameer is on a distinguished road

problems with custom php.ini


hi,

the login system of my website some times does not allows my clients to login.after trying 6-7 times or may be more times the client can login.this is became a big headache for us.here iam giving my custom php.ini file.can you please help me to get out of it.sessions have been used for this.


thanks
mrjameer

custom php.ini
PHP Code:

$sess_param = array();



$sess_param['errors_path'] = '../inc/';
$sess_param['errors_file'] = 'errsess';

$sess_param['default_lang'] = 'en';

$sess_param['current_lang'] = IsSet($_SERVER['HTTP_ACCEPT_LANGUAGE']) ?
                       substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2) : 'en';

$sess_param['session_start'] = TRUE;

$sess_param['stop_on_error'] = TRUE;

$sess_param['error_color'] = 'RED';
$sess_param['error_size']  = '+0';

$sess_param['stop_on_warn'] = FALSE;

$sess_param['warn_color'] = 'BLUE';
$sess_param['warn_size']  = '+0';


$sess_param['detail_err_msgs'] = FALSE;

$sess_param['buffer'] = FALSE;


$sess_param['key_prefix'] = 'O9R^3mp#i|34';
$sess_param['key_suffix'] = '+t97!u0K-2L5';


$sess_param['confirm_pswd'] = '!*CONFIRMED*!';

$sess_param['encrypt'] = FALSE;



$sess_param['encrypt_cipher'] = (defined('MCRYPT_GOST')) ? MCRYPT_GOST : NULL;
$sess_param['encrypt_mode']   = (defined('MCRYPT_MODE_CFB')) ?
                                          MCRYPT_MODE_CFB    : NULL;


$sess_param['gc_del_locked'] = FALSE;

$sess_param['db_host'] = $connsqlhostname;       // Your host name

$sess_param['db_user'] = $connlogin;       // Your user name assigned

$sess_param['db_pswd'] = $connpassword;        // Your assigned password

$sess_param['db_name'] = $connbase;    // Your database name

$sess_param['db_persistent'] = FALSE;

$sess_param['db_resource'] = NULL;


$sess_param['tb_name']    = 'sessions';        // Session table name

$sess_param['tb_id_col']  = 'sess_id';          // Session ID key column name

$sess_param['tb_sl_col']  = 'sess_sec_level';   // Security level column name

$sess_param['tb_cr_col']  = 'sess_created';     // Session created column name

$sess_param['tb_ex_col']  = 'sess_expiry';      // Expiry column name

$sess_param['tb_to_col']  = 'sess_timeout';     // Session timeout column name

$sess_param['tb_lk_col']  = 'sess_locked';      // Session locked column name

$sess_param['tb_vl_col']  = 'sess_value';       // Session data column name

$sess_param['tb_iv_col']  = 'sess_enc_iv';      // Session encrypt IV col. name

$sess_param['tb_si_col']  = 'sess_sec_id';      // Session security ID column

$sess_param['tb_tr_col']  = 'sess_trace';       // Session trace column name

$sess_param['security_level'] = 128;             // Range 0-255


$sess_param['new_sid'] = FALSE;

$sess_param['sess_id'] = NULL;

$sess_param['sess_id_len'] = 32;


$sess_param['ie_fix'] = FALSE;


$sess_param['slash_anyway'] = TRUE;


$sess_param['strip_anyway'] = TRUE;


$sess_param['save_path'] = $connbase;      // Set to name of database

$sess_param['name'] = 'CSESSION';               // Assign your own session name

//$sess_param['auto_start'] = '1';                // 1 = auto start, 0 = off

//$sess_param['gc_probability'] = 10;             // Garbage Collection

//$sess_param['gc_divisor'] = 100;

//$sess_param['gc_maxlifetime'] = 1440;

//$sess_param['timeout'] = $sess_param['gc_maxlifetime'] * 3;



//$sess_param['serialize_handler'] = 'php';

//$sess_param['cookie_lifetime'] = 0;

//$sess_param['cookie_path'] = '/';

//$sess_param['cookie_domain'] = '';

//$sess_param['cookie_secure'] = '0';

//$sess_param['use_cookies'] = 1;

//$sess_param['use_only_cookies'] = 0;      // For PHP version >= 4.3.0

//$sess_param['referer_check'] = '';

//$sess_param['entropy_file'] = '';

//$sess_param['entropy_length'] = 0;

//$sess_param['cache_limiter'] = 'nocache';

//$sess_param['cache_expire'] = 180;        // For PHP version >= 4.2.0

//$sess_param['bug_compat_42'] = 1;

//$sess_param['bug_compat_warn'] = 1;

//$sess_param['use_trans_sid'] = 1;

//$sess_param['hash_function'] = 0;

//$sess_param['hash_bits_per_character'] = 4;


//$sess_param['tags'] = 'a=href,area=href,frame=src,iframe=src,form=,fieldset=,input=src'; 


Last edited by LuciWiz : 17-Nov-2006 at 14:52. Reason: Please insert your Php code between [php] & [/php] tags
 
 

Recent GIDBlog2nd Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems while burning CD's netnut Computer Software Forum - Windows 16 17-Jan-2008 23:45
MPH Custom Computers - The best PC's on the net! MPH Custom Comp eCommerce / Merchant Account Forum 0 27-Nov-2005 13:51
php.ini file not being read ian111 Apache Web Server Forum 1 29-Jun-2005 11:35
Chaintech Geforce 5600 FX problems bartster74 Computer Hardware Forum 8 04-May-2004 13:16

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 19:38.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.