RE: Error due to the "Automatic Mirror Select" function...
| From: | Jacques Marneweck | Date: | Sat, 24 May 2003 21:20:19 +0000 |
| Subject: | RE: Error due to the "Automatic Mirror Select" function... | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-18043@lists.php.net to get a copy of this message | ||
Hi,
I've been playing around again, and I'm noticing that GeoIP is faster
than the direct ip-to-country db.
with geoip
root@mimbari:~/geoip# php -q findsavage.php 12.253.53.226
Country is United States
Lookup of the IP took 0.0390640497208 seconds.
root@mimbari:~/geoip# php -q findsavage.php 193.0.0.203
Country is Netherlands
Lookup of the IP took 0.0614559650421 seconds.
with directi ip-to-country:
root@mimbari:~/directi# php -q findsavage.php 12.253.53.226
[directi] Person is located in United States
Lookup of the IP took 16.8583329916 seconds and 3 db searches.
root@mimbari:~/directi# php -q findsavage.php 193.0.0.203
[directi] Person is located in Netherlands
Lookup of the IP took 0.520069003105 seconds and 1 db search.
I'm using a Pentium 200Mhz box atm for testing. Will scp the files to
the 1600Mhz box and test shortly.
Regards
--jm
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus@lerdorf.com]
> Sent: Saturday, May 24, 2003 8:35 PM
> To: Jacques Marneweck
> Cc: Derick Rethans; Gabor Hojtsy; webmaster@php.net; Jim Winstead
> Subject: RE: Error due to the "Automatic Mirror Select" function...
>
>
> On Sat, 24 May 2003, Jacques Marneweck wrote:
> > We are using the ip-to-country stuff atm which does not
> work as well as
> > GeoIP and ip-to-nation.
>
> Like I said, querying my ip from
> http://www.ip-to-country.com/ gives me
> the correct answer, so it isn't a question of their database
> not having
> it, it has to do with our copy of the db or the way we do the query.
>
> -Rasmus
>
>