ip-to-country

ip-to-country

am 18.10.2009 21:03:35 von SED

Hi,

How can I access an index for IP to a country (or a more detailed location)?
I have not yet found a function for that in PHP nor a free to use website
that offers a remote search.

Perhaps, there is another solution - any ideas?

Regards,
Summi




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: ip-to-country

am 18.10.2009 21:07:22 von mike503

http://pecl.php.net/package/geoip however i tried a few IPs once and
it was "unknowns"



On Sun, Oct 18, 2009 at 12:03 PM, SED wrote:
> Hi,
>
> How can I access an index for IP to a country (or a more detailed location)?
> I have not yet found a function for that in PHP nor a free to use website
> that offers a remote search.
>
> Perhaps, there is another solution - any ideas?
>
> Regards,
> Summi
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: ip-to-country

am 18.10.2009 21:07:39 von Per Jessen

SED wrote:

> Hi,
>=20
> How can I access an index for IP to a country (or a more detailed
> location)? I have not yet found a function for that in PHP nor a free=

> to use website that offers a remote search.
>=20
> Perhaps, there is another solution - any ideas?

DNS lookup - see http://countries.nerd.dk


/Per

--=20
Per Jessen, Zürich (4.9°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: ip-to-country

am 19.10.2009 01:37:57 von George Langley

On 18-Oct-09, at 1:03 PM, SED wrote:
>
> How can I access an index for IP to a country (or a more detailed
> location)?
------------


has both free and various paid services.

George

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: ip-to-country

am 19.10.2009 11:02:43 von Skylinux

SED wrote:
> How can I access an index for IP to a country (or a more detailed location)?
> I have not yet found a function for that in PHP nor a free to use website
> that offers a remote search.

http://www.hostip.info/ is free, provides a database to download and
even allows you to query the database via GET.
Downside is that it is not very accurate but it is GPL so it is improved
by user and visitors of the site.

The most accurate database I have seen so far is the paid database from
maxmind.com

--
John
Define: Ubuntard => The drivel this guy spews is inane and forgettable
stuff, characterized by comments that treat Ubuntu as if it is the only
distribution in existence.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: ip-to-country

am 19.10.2009 13:35:20 von Paul Halliday

You might find this useful:

http://sites.google.com/site/interrupt0x13h/code/ip2c

On Sun, Oct 18, 2009 at 4:03 PM, SED wrote:
> Hi,
>
> How can I access an index for IP to a country (or a more detailed location)?
> I have not yet found a function for that in PHP nor a free to use website
> that offers a remote search.
>
> Perhaps, there is another solution - any ideas?
>
> Regards,
> Summi
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: ip-to-country

am 14.12.2009 13:07:41 von angelo

-----Original Message-----
From: George Langley [mailto:george.langley@shaw.ca]
Sent: 19 October 2009 01:38 AM
To: php-general@lists.php.net
Subject: Re: [PHP] ip-to-country

On 18-Oct-09, at 1:03 PM, SED wrote:
>
> How can I access an index for IP to a country (or a more detailed
> location)?
------------


has both free and various paid services.

George


Hi George,

How accurate are the free ones compared to the paid ones?

Regards
Angelo

http://www.elemental.co.za
http://www.wapit.co.za



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: ip-to-country

am 14.12.2009 13:08:23 von angelo

-----Original Message-----
From: John Black [mailto:spam@network-technologies.org]
Sent: 19 October 2009 11:03 AM
To: php-general@lists.php.net
Subject: Re: [PHP] ip-to-country

SED wrote:
> How can I access an index for IP to a country (or a more detailed
location)?
> I have not yet found a function for that in PHP nor a free to use website
> that offers a remote search.

http://www.hostip.info/ is free, provides a database to download and
even allows you to query the database via GET.
Downside is that it is not very accurate but it is GPL so it is improved
by user and visitors of the site.

The most accurate database I have seen so far is the paid database from
maxmind.com

--
John


Thanks for the link John!

Angelo

http://www.elemental.co.za
http://www.wapit.co.za



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: ip-to-country

am 29.12.2009 22:14:26 von George Langley

--Apple-Mail-2-346224830
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit

From my experience, I have had reported one incorrect country-level
IP from Maxmind's paid service (returned US vrs Canada for a Canadian
IP). But their free version is based on the commercial lists, just not
updated as often, or automatically (you download and store locally on
your server). So should be nearly as accurate as long as you maintain
the lists (ie. think is weekly, being 2-weeks behind).
That said, someone on another list is running a geo-location service
comparison test, where you click links to the various services, then
enter the location they returned. He was compiling the results, and so
far has reported the following:
---------QUOTE-------
So far some crazy numbers and realities. Of these numbers, all of the
vendors missed 25 exact city locations equally. So our continued plan
is to measure how far off the approx. 25% are so we can then say, "OK,
x vendor is 100% accurate up to x% and then x% accurate within say x-y
miles". The shocking thing to us is still how some of the more
expensive providers will say their definition of accuracy on a city
level can be within 25 miles. Thus you would receive statistical
confidence of a 90-100 for an IP that shows Pasadena, Calif. and yet
in reality be located in Long Beach, Calif., or the same for San Jose,
Ca. and yet be further up the peninsula in San Carlos, Ca.

total: 103

ip2: 55
quova: 46
ipiligence: 32
whatis: 62
maxmind: 63


By the way, we are obviously way short still on queries so if you
haven't clicked on the link, please do so and follow some ez pz
instructions:

http://www.stratosanalytics.com/iplookup.html

---------END QUOTE-----------

So help him out by clicking the link (although not sure what he means
by "e-zed-p-zed instructions".... ;-{)] )

George


On 14-Dec-09, at 5:07 AM, Angelo Zanetti wrote:

>
>
> -----Original Message-----
> From: George Langley [mailto:george.langley@shaw.ca]
> Sent: 19 October 2009 01:38 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] ip-to-country
>
> On 18-Oct-09, at 1:03 PM, SED wrote:
>>
>> How can I access an index for IP to a country (or a more detailed
>> location)?
> ------------
>
>
> has both free and various paid services.
>
> George
>
>
> Hi George,
>
> How accurate are the free ones compared to the paid ones?
>
> Regards
> Angelo
>
> http://www.elemental.co.za
> http://www.wapit.co.za
>
>


--Apple-Mail-2-346224830--

Re: ip-to-country

am 29.12.2009 22:32:27 von Nitsan Bin-Nun

--0016364d26096a038c047be4c3c6
Content-Type: text/plain; charset=ISO-8859-1

easy-peasy :)

I have nothing to add to the discussion, my experience is only with
Maxmind's free database, and it is definitely not accurate at Israel.

On Tue, Dec 29, 2009 at 11:14 PM, George Langley wrote:

> From my experience, I have had reported one incorrect country-level
> IP from Maxmind's paid service (returned US vrs Canada for a Canadian IP).
> But their free version is based on the commercial lists, just not updated as
> often, or automatically (you download and store locally on your server). So
> should be nearly as accurate as long as you maintain the lists (ie. think is
> weekly, being 2-weeks behind).
> That said, someone on another list is running a geo-location service
> comparison test, where you click links to the various services, then enter
> the location they returned. He was compiling the results, and so far has
> reported the following:
> ---------QUOTE-------
> So far some crazy numbers and realities. Of these numbers, all of the
> vendors missed 25 exact city locations equally. So our continued plan is to
> measure how far off the approx. 25% are so we can then say, "OK, x vendor is
> 100% accurate up to x% and then x% accurate within say x-y miles". The
> shocking thing to us is still how some of the more expensive providers will
> say their definition of accuracy on a city level can be within 25 miles.
> Thus you would receive statistical confidence of a 90-100 for an IP that
> shows Pasadena, Calif. and yet in reality be located in Long Beach, Calif.,
> or the same for San Jose, Ca. and yet be further up the peninsula in San
> Carlos, Ca.
>
> total: 103
>
> ip2: 55
> quova: 46
> ipiligence: 32
> whatis: 62
> maxmind: 63
>
>
> By the way, we are obviously way short still on queries so if you haven't
> clicked on the link, please do so and follow some ez pz instructions:
>
> http://www.stratosanalytics.com/iplookup.html
>
> ---------END QUOTE-----------
>
> So help him out by clicking the link (although not sure what he
> means by "e-zed-p-zed instructions".... ;-{)] )
>
> George
>
>
>
> On 14-Dec-09, at 5:07 AM, Angelo Zanetti wrote:
>
>
>>
>> -----Original Message-----
>> From: George Langley [mailto:george.langley@shaw.ca]
>> Sent: 19 October 2009 01:38 AM
>> To: php-general@lists.php.net
>> Subject: Re: [PHP] ip-to-country
>>
>> On 18-Oct-09, at 1:03 PM, SED wrote:
>>
>>>
>>> How can I access an index for IP to a country (or a more detailed
>>> location)?
>>>
>> ------------
>>
>>
>> has both free and various paid services.
>>
>> George
>>
>>
>> Hi George,
>>
>> How accurate are the free ones compared to the paid ones?
>>
>> Regards
>> Angelo
>>
>> http://www.elemental.co.za
>> http://www.wapit.co.za
>>
>>
>>
>

--0016364d26096a038c047be4c3c6--