bebeboutik/modules/fraud/vendor/localisation/sample_netspeedcell.php

15 lines
229 B
PHP
Raw Permalink Normal View History

2016-01-04 12:49:26 +01:00
#!/usr/bin/php -q
<?php
include("geoip.inc");
$gi = geoip_open("/usr/local/share/GeoIP/GeoIPNetSpeedCell.dat",GEOIP_STANDARD);
$netspeed = geoip_name_by_addr($gi,"24.24.24.24");
print $netspeed . "\n";
geoip_close($gi);
?>