View Single Post
Old 2004-04-12, 09:10 AM   #5
Auke
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
 
Auke's Avatar
 
Join Date: Nov 2003
Location: Netherlands
Posts: 28
Send a message via ICQ to Auke
Well if u can use php you can redirect user by there browser language...
like this

PHP Code:
<?
    
if(strstr($HTTP_ACCEPT_LANGUAGE,"es")) {

        echo
"<script>location.href=('http://www.spanishsite.com');</script>";    
    
    }
?>
Else you can do the same thing by javascript.
look in google for "browser language redirect javascript"
or somthing... i'm sure yu will find something!

Browser rediect is not bulletproof tho!
everybody can use an english language browser...
__________________
Respect,
Auke

ICQ:325256616
Auke is offline   Reply With Quote