[insert_php]
$_SESSION[‘lang’]=$_GET[‘lang’];
$follow= »http:// ».$_SERVER[‘HTTP_HOST’].urlencode($_SERVER[REQUEST_URI]). »&lang=en »;
$case= »http:// ».$_SERVER[‘HTTP_HOST’]. »/?lang=en »;
$ref=$_SERVER[‘HTTP_REFERER’];
[/insert_php] [insert_php] if($ref == $case) { $params = $_GET; unset($params["lang"]); $params["lang"] = "en"; $new_query_string = http_build_query($params); //echo "location.href=http://".$_SERVER['HTTP_HOST']."".$new_query_string.""; echo ""; // $content = "?toto=2&tptp=3"; // echo ""; } [/insert_php]