Zubrag.com :: Forum

zubrag.com => Password Protect => Topic started by: intrepid on May 27, 2012, 11:55:04 AM



Title: Cookie fails to set
Post by: intrepid on May 27, 2012, 11:55:04 AM
Logon is good, but Cookies fail to set on data from mySQL, so keep needing to logon on each page :-
$LOGIN_INFORMATION[addslashes(strtolower($row['name']))] = $row['password'];

Cookies work just fine on, no need for repeated logons with:-
$LOGIN_INFORMATION = array(
'zubrag' => 'root',
'test' => 'testpass',
'admin' => 'passwd'
);

So what needs recoding to debug the data from mySQL?