$_GET['viewKey'] ); if (isset($_GET['nick'])) $opts['nick'] = $_GET['nick']; if (isset($_GET['realname'])) $opts['realname'] = $_GET['realname']; if (isset($_GET['server'])) $opts['server'] = $_GET['server']; if (isset($_GET['port'])) $opts['port'] = $_GET['port']; session_start(); // If 'x' parameter exists in query string, reset session state. if (array_key_exists('x', $_GET)) { session_destroy(); header('Cache-Control: no-store, no-cache, must-revalidate'); header('Pragma: no-cache'); header('Expires: Thu, 01 Jan 1970 00:00:00 GMT'); } ?> Experimental IRC chat client