Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #12241

Re: recognize country

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php, alt.php
Subject Re: recognize country
Date Sun, 15 Dec 2013 11:59:08 +0100
Lines 43
Message-ID <bh5gbtFsu4eU1@mid.individual.net> (permalink)
References <125kyzt66kwku$.q6ywosnout0r.dlg@40tude.net> <461fsbu98jld.1vftfxn0dl3dg.dlg@40tude.net> <l8irus$dsf$1@dont-email.me> <10m4kg1lqaghb$.1qos4ncc1tq11$.dlg@40tude.net>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net pPUK/5/OGuJR+FFL2epUggPWiuZ2kD0uNL/sXYdaNLh/R6+EBn
Cancel-Lock sha1:+fw5ai8OAyE8iyAoKNSchwxP3Xw=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0
In-Reply-To <10m4kg1lqaghb$.1qos4ncc1tq11$.dlg@40tude.net>
Xref csiph.com comp.lang.php:12241

Cross-posted to 2 groups.

Show key headers only | View raw


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

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

recognize country nawfer <novalidsforspam@alt.al> - 2013-12-14 14:43 +0100
  Re: recognize country Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-14 08:58 -0500
    Re: recognize country nawfer <novalidsforspam@alt.al> - 2013-12-15 11:16 +0100
      Re: recognize country Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-15 08:37 -0500
  Re: recognize country The Natural Philosopher <tnp@invalid.invalid> - 2013-12-14 15:27 +0000
  Re: recognize country Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2013-12-14 10:32 -0500
  Re: recognize country Christoph Michael Becker <cmbecker69@arcor.de> - 2013-12-14 19:55 +0100
    Re: recognize country Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-14 14:52 -0500
      Cross-Posting (was: recognize country) Christoph Michael Becker <cmbecker69@arcor.de> - 2013-12-14 21:57 +0100
        Re: Cross-Posting Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-14 16:20 -0500
          Re: Cross-Posting Christoph Michael Becker <cmbecker69@arcor.de> - 2013-12-14 23:25 +0100
            Re: Cross-Posting Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-14 17:36 -0500
        Re: Cross-Posting Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-14 22:38 +0100
          Re: Cross-Posting Christoph Michael Becker <cmbecker69@arcor.de> - 2013-12-14 23:31 +0100
            Re: Cross-Posting Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-14 23:55 +0100
              Re: Cross-Posting Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-14 18:08 -0500
                Re: Cross-Posting Christoph Michael Becker <cmbecker69@arcor.de> - 2013-12-15 00:35 +0100
                Re: Cross-Posting Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-15 01:13 +0100
  Re: recognize country richard <noreply@example.com> - 2013-12-14 18:56 -0500
    Re: recognize country Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-14 19:09 -0500
      Re: recognize country nawfer <novalidsforspam@alt.al> - 2013-12-15 11:34 +0100
        Re: recognize country "J.O. Aho" <user@example.net> - 2013-12-15 11:59 +0100
        Re: recognize country Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-12-15 12:05 +0100
          Re: recognize country Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-12-15 12:51 +0000
          Re: recognize country Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-15 08:49 -0500
        Re: recognize country Tim Streater <timstreater@greenbee.net> - 2013-12-15 13:13 +0000
        Re: recognize country Jerry Stuckle <jstucklex@attglobal.net> - 2013-12-15 08:50 -0500
        Re: recognize country Arno Welzel <usenet@arnowelzel.de> - 2013-12-15 15:22 +0100
        Re: recognize country The Natural Philosopher <tnp@invalid.invalid> - 2013-12-15 15:35 +0000
    Re: recognize country Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-12-14 21:35 -0800
    Re: recognize country Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-12-15 12:42 +0000
    Re: recognize country Denis McMahon <denismfmcmahon@gmail.com> - 2013-12-15 15:21 +0000

csiph-web