IP2Location IP-Country December 2009 Edition (DB1)
Год выпуска: 2009
Версия: December 2009 edition
Разработчик:
IP2LocationПлатформа: Кроссплатформенная
Совместимость с Vista: полная
Язык интерфейса: только английский
Таблэтка: Не требуется
Описание: База IP адресов всех стран мира.
IP2Location.com is pleased to announce the availability of the latest updates for the IP2Location(TM) geolocation products. On average, there are 5%-10% of the records being updated in the databases every month due to IP address range relocation and new range available.
Скрипт для конвертации IP адреса в целочисленный код:
function Dot2LongIP ($IPaddr)
{
if ($IPaddr == "") {
return 0;
} else {
$ips = split ("\.", "$IPaddr");
return ($ips[3] + $ips[2] * 256 + $ips[1] * 256 * 256 + $ips[0] * 256 * 256 * 256);
}
}