session_start(); $token = md5(time()); $_SESSION['token'] = $token; $_SESSION['token_timestamp'] = time(); ?>