Files
Testing/mailservices/includes/geo/sample_netspeedcell.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

15 lines
229 B
PHP

#!/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);
?>