%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/bbw/farmaci/kritik-portale/vendor/geoip/geoip/examples/
Upload File :
Create Path :
Current File : //var/www/html/bbw/farmaci/kritik-portale/vendor/geoip/geoip/examples/org.php

#!/usr/bin/php -q
<?php

// This code demonstrates how to lookup the country and region by IP Address
// It is designed to work with GeoIP Organization or GeoIP ISP available from MaxMind

include("../src/geoip.inc");

$giorg = geoip_open("/usr/local/share/GeoIP/GeoIPOrg.dat", GEOIP_STANDARD);

$org = geoip_org_by_addr($giorg, "80.24.24.24");
print "80.24.24.24 belongs to " . $org . "\n";

$giisp = geoip_open("/usr/local/share/GeoIP/GeoIPISP.dat", GEOIP_STANDARD);

$isp = geoip_org_by_addr($giisp, "80.24.24.24");
print "80.24.24.24 has isp " . $isp . "\n";

geoip_close($giorg);
geoip_close($giisp);

?>

Zerion Mini Shell 1.0