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

Home » Imported messages » comp.lang.php » recognize country
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: recognize country [message #184201 is a reply to message #184200] Sun, 15 December 2013 10:59 Go to previous messageGo to previous message
J.O. Aho is currently offline  J.O. Aho
Messages: 194
Registered: September 2010
Karma:
Senior Member
On 15/12/13 11:34, nawfer wrote:
>>> GeoIP.
>>
>> Which is just as accurate as any other IP-based location service. IOW,
>> not very.
>
> but is a online service or one php array or both
> ?
>
>
> but isn't stable the ip of the nations?
> example
> 50.xxx.xxx.xxx to 100.xxx.xxx.xxx all ip nation A
> 101.xxx.xxx.xxx to 150.xxx.xxx.xxx all ip nation B
> 151.xxx.xxx.xxx to 200.xxx.xxx.xxx all ip nation C
>
> ok the ip inner nations ip can't be accurate and can to change, but between
> nation is table (every range is assigned at only one nation)?
>

There are IP-numbers which is registred for say Sweden and users in
Denmark will be using those IP-numbers, which makes it look like the
Dane comes from Sweden and you your case you would server them something
in Swedish which ain't Danish. This applies for Hi3G users, sure you
could adjust and tell that those IP-numbers should get things in Danish,
but then the Swedish users will get it in Danish too.

There are quite many such ranges and some companies lets other companies
to use part of their range to thir party which may not come from the
same country.

GeoIP does have quite okey lists, but only if you are paying for it, the
free lists has loads of known issues.


Sadly you didn't answer Jerrys question, why do you want to do this,
detect the users country?

--

//Aho
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Apache HTTP Server
Next Topic: activating a JS script from PHP redirect
Goto Forum:
  

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

Current Time: Tue Jul 02 00:16:50 GMT 2024

Total time taken to generate the page: 0.05060 seconds