PHP Code:
$_SESSION['sid'] = put here the encrypted value to be used as session, $_SERVER['PHPSESSID'], $PHPSESSID, session_id()
$_SESSION['sid'] = put here the encrypted value to be used as session, $_SERVER['PHPSESSID'], $PHPSESSID, session_id()
mysql_query("INSERT INTO ibwf_sessions SET id='".session_id()."' WHERE uid='".getuid_nick($_GET['loguid'])."', expiretm='".(time() + (24*60*60))."'");
$sid = session_id();
$uid = getuid_sid($sid);
index.php?action=viewuser&who=$uid
index.php?action=logout&who=$uid
Comment