Re: the real problem with the ip-to-country DB / phpweb

From: Date: Sun, 25 May 2003 12:34:20 +0000
Subject: Re: the real problem with the ip-to-country DB / phpweb
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-18072@lists.php.net to get a copy of this message
Divyank, can you please look at this ASAP? We are highly in need of a correct country detection database (and index) right now, as we redirect guys to mirror sites.
I am looking at it right away. Will get back with a fix in a while.
Thanks. I have checked some other parts of the DB, and this error seems to be a very common thing in the DB. And this causes that most of the IPs are not found in the indexed search. Very are not going to drop the index as linear searching in 1.5MB data is not doable. In fact I am going to add more code to optimize search based on the index. That would not help alone, as the index is based on the assumption, that the ranges are unique and are in incremental order. And this is absolutely not the case with the current DB. Goba

« previous php.mirrors (#18072) next »