. For more information, visit http://sourceforge.net/projects/ipreg, or contact me at wietsew@users.sourceforge.net *****************************************************************************/ // session // start session session_name('ipreg'); session_start(); // check for user_id, if unnkown, redirect to login if(empty($_SESSION['suser_id'])) { // redirect header("Location: login.php"); exit; } // headers // raw http headers header("Content-Type: text/html; charset=utf-8"); // includes // includes include("config.php"); include("dbconnect.php"); // load lib include("lib.php"); // set language $language = lang_getfrombrowser($config_lang, $config_lang_default, null, false); ?>