Parašė Demonas· 2007 Bir. 18 12:06:00
#11
mys3lfe tu mys3lfe :D maincore yra fusion_users sausainiams :D ne
mysql o sausainiams :D
if (isset($_COOKIE['fusion_user'])) {
$cookie_vars = explode(".", $_COOKIE['fusion_user']);
$cookie_1 = isNum($cookie_vars['0']) ? $cookie_vars['0'] : "0";
$cookie_2 = (preg_match("/^[0-9a-z]{32}$/", $cookie_vars['1']) ? $cookie_vars['1'] : "");
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='$cookie_1' AND user_password='$cookie_2'");
visur kitur, kur reikia isvedama su $db_prefix :D fusion_ tik sausaineliams :D maincore nieko daryt nereikia :D tereikia tik config.php pakeist prefix'a :D
Redagavo Demonas· 2007 Bir. 18 12:06:53