cvs: phpweb /include ip-to-country.inc

From: Date: Sat, 24 May 2003 20:32:44 +0000
Subject: cvs: phpweb /include ip-to-country.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-18040@lists.php.net to get a copy of this message
alindeman Sat May 24 16:32:44 2003 EDT Modified files: /phpweb/include ip-to-country.inc Log: this is a better way to do that Index: phpweb/include/ip-to-country.inc diff -u phpweb/include/ip-to-country.inc:1.13 phpweb/include/ip-to-country.inc:1.14 --- phpweb/include/ip-to-country.inc:1.13 Sat May 24 16:01:56 2003 +++ phpweb/include/ip-to-country.inc Sat May 24 16:32:44 2003 @@ -1,6 +1,6 @@ <?php // -*- C++ -*- -// $Id: ip-to-country.inc,v 1.13 2003/05/24 20:01:56 jacques Exp $ +// $Id: ip-to-country.inc,v 1.14 2003/05/24 20:32:44 alindeman Exp $ /* @@ -65,8 +65,7 @@ $idx = i2c_search_in_index($ipn); // For some odd reason I need to remove 2 from the idx value to // get the country of rasmus and various other IP's to lookup. - $idx--; - $idx--; + $idx-=2; // Search in the database from the given index $country = i2c_search_in_db($ipn, $idx);

« previous php.mirrors (#18040) next »