
15/10/2006, 08:47
|
 | | | Fecha de Ingreso: abril-2006 Ubicación: San Rafael, Mendoza
Mensajes: 311
Antigüedad: 18 años, 11 meses Puntos: 15 | |
Código PHP:
<?php
$idioma = substr ($HTTP_ACCEPT_LANGUAGE, 0, 2);
if ($idioma == "en") { header("Location: http://en.tudomio.com/"); } else { header("Location: http://es.tudomio.com/"); }
?> Asímismo visitá: http://www.forosdelweb.com/f18/redireccion-segun-idioma-372382/
Saludos! |