Originariamente inviato da djnicky Prova questo : codice: <? $language = $_SERVER['HTTP_ACCEPT_LANGUAGE']; $host = $_SERVER['HTTP_HOST']; if ($language == "it" || $language =="it-it") { header("Location: http://$host/ITA/index.php"); } else { header("Location: http://$host/ENG/index.php"); } ?> Ciao Luigi tnx a lot ... adesso provo
<? $language = $_SERVER['HTTP_ACCEPT_LANGUAGE']; $host = $_SERVER['HTTP_HOST']; if ($language == "it" || $language =="it-it") { header("Location: http://$host/ITA/index.php"); } else { header("Location: http://$host/ENG/index.php"); } ?>
=LoD= Studio Arkaios Arkaios.it
Regole del Forum