if (!isset($Langue)) { if(isset($HTTP_ACCEPT_LANGUAGE)){ $Langue = explode(",",$HTTP_ACCEPT_LANGUAGE); $Langue = strtolower(substr(chop($Langue[0]),0,2)); } else $Langue="fr"; } header("HTTP/1.1 301 Moved Permanently"); if($Langue=="fr"){ header("Location: /accueil.php"); }else{ header("Location: /accueil_$Langue.php"); } ?>