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

From: Date: Sat, 24 May 2003 20:01:56 +0000
Subject: cvs: phpweb /include ip-to-country.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-18035@lists.php.net to get a copy of this message
jacques Sat May 24 16:01:56 2003 EDT Modified files: /phpweb/include ip-to-country.inc Log: - Quickfix to get rasmus IP to lookup. Index: phpweb/include/ip-to-country.inc diff -u phpweb/include/ip-to-country.inc:1.12 phpweb/include/ip-to-country.inc:1.13 --- phpweb/include/ip-to-country.inc:1.12 Sat May 17 09:49:12 2003 +++ phpweb/include/ip-to-country.inc Sat May 24 16:01:56 2003 @@ -1,6 +1,6 @@ <?php // -*- C++ -*- -// $Id: ip-to-country.inc,v 1.12 2003/05/17 13:49:12 goba Exp $ +// $Id: ip-to-country.inc,v 1.13 2003/05/24 20:01:56 jacques Exp $ /* @@ -63,6 +63,10 @@ // Find the index to start search from $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--; // Search in the database from the given index $country = i2c_search_in_db($ipn, $idx);

« previous php.mirrors (#18035) next »