#error_reporting(E_ALL); #ini_set('display_errors', 1); ?> require ("../../inc/cmrincs.php"); ?> session_start(); if ($_SESSION['alive'] == 1){ //print $_SESSION['alive']; $mode = 0; } else { session_start(); $_SESSION['alive']='1'; $mode = 1; //print "uusi sessio"; }; $ses_id = session_id(); #$ip = getenv(REMOTE_ADDR); #$ip = getenv($_SERVER['REMOTE_ADDR']); $ip = '1212'; create_stat($ses_id,$ip); //statistic insert header('Content-Type: text/html; charset=utf-8'); //print $ses_id; ?>
|
|||