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
<? $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"); } ?>
io ci provo anche se è dura!!! vieni a trovarmi http://www.netlabit.com
Regole del Forum