if(!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == ""){ $redirect = "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; header("HTTP/1.1 301 Moved Permanently"); header("Location: $redirect"); exit(); } session_start(); # Toon PHP fouten, waarschuwingen en parse foutmeldingen. //prod ini_set('display_errors', 1); ini_set('error_reporting', E_ERROR | E_PARSE); //test //error_reporting(E_ALL); //ini_set('display_errors', 1); /* set the cache limiter to 'private' */ session_cache_limiter('private'); $cache_limiter = session_cache_limiter(); /* set the cache expire to 30 minutes */ session_cache_expire(20); $cache_expire = session_cache_expire(); include 'local/dbd.php'; include 'local/functions.php'; include 'local/js.php'; include 'local/vars.php'; include 'local/lan.php'; // STATS BIJWERKEN BIJ ELKE POST //actief uitloggen in sessie plaatsen if(isset($_POST['login_code'])) {$login_code = $_POST['login_code'];} if ($login_code=="5") { session_unset(); session_destroy(); session_write_close(); setcookie(session_name(),'',0,'/'); session_regenerate_id(true); session_start(); $_SESSION['login_code']="5"; $_SESSION['login_error'] = get_lang_str("str_login_uitgelogd",$language); $_SESSION['login_ingelogd']="false"; } $login_error = $_SESSION['login_error']; $login_code = $_SESSION['login_code']; //GOOGLE CONVERSIE if ($login_code=="4") { ?> } ?>
" /> " />