if(empty($_GET)) { $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); if ($lang=="fr"){ header('Location: fr/index.fr.php' ) ; }else{ //header('Location: index.php' ) ; } }else{ $la = $_REQUEST['la']; $_SESSION ['la'] = $_REQUEST ['la']; if ($la==26){ } else{ header('Location: index.php' ) ; } } ?> mobilithink - building #1 ranking apps that monetize mobile