. */ $app_disp_lang = filter_input(INPUT_POST, 'app_disp_lang', FILTER_SANITIZE_STRING); // GET SANITARY LANG CHOICE setcookie ( 'app_disp_lang', $app_disp_lang, [ 'expires' => time() + 60*60*24*90, 'secure' => true, 'httponly' => true, 'samesite' => 'Strict', ]); header('Location: index.php'); // GO HOME UNTIL WE ADD REFERER LOGIC