View Single Post
Old 03-12-2004, 10:18 PM  
crescentx
Confirmed User
 
Join Date: Jun 2003
Posts: 317
This isn't so tough to do without buying anything.

1, Use GeoIP (database costs $) - proxies can screw it up though

2, Use language preference of IExplorer - but some people use US-EN no matter what.

If you're looking for down-to-the-US-state filtering, #1 is the way to go. If you're looking for general language/country redirection:

<?php


$lang=strtok($HTTP_ACCEPT_LANGUAGE,",");
$lang=split("-",$lang);
$lang[0]=$country;
$lang[1]=$language;
if ($languagehahahaha"en") {
include "Englishsite.php";
}

?>

etc. You can ICQ me 92621328 if you need some help here.

-doug
crescentx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote