FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to redirect user based on user country?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to redirect user based on user country? [message #175645 is a reply to message #175637] Fri, 14 October 2011 17:09 Go to previous messageGo to previous message
houghi is currently offline  houghi
Messages: 45
Registered: September 2011
Karma:
Member
justaguy wrote:
>> You can use a GeoIP database (e.g. <http://www.maxmind.com/app/php>)
>> which gives you a rough location based on the IP address of the client.
>> This doesn't make sence of course without servers actually located in
>> different countries.
>
> All right, thanks, so, it's quite involved.

As long as you have recent updates for the data, it is not that bad.
However I personally detest it and rather be able to decide for myself.

As this is for download (and not so much the site itself) this is about
speed for the downloader, I assume. Even then I rather be able to select
my own mirror. I know I can have higher speeds from another country then
from my own on some servers.

So at least give the option to select during e.g. 15 seconds (or
whatever you think will be apropriate)

The example on the URL above is all that there is to it, but obviously
you must first decide which ones go where and where do the other ones go
to.

houghi
--
Dr. Walter Gibbs: Won't that be grand? Computers and the programs
will start thinking and the people will stop.
-- Tron (1982)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: including CSS & JS on only pages that need that CSS & JS
Next Topic: Can I stop sending content-length header?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 20:52:35 GMT 2024

Total time taken to generate the page: 0.03977 seconds