function geoip_name_by_addr in Smart IP 6.2
Same name and namespace in other branches
- 7.2 includes/geoip.inc \geoip_name_by_addr()
1 call to geoip_name_by_addr()
- geoip_org_by_addr in includes/
geoip.inc
File
- includes/
geoip.inc, line 724
Code
function geoip_name_by_addr($gi, $addr) {
if ($addr == NULL) {
return 0;
}
$ipnum = ip2long($addr);
return _get_org($gi, $ipnum);
}