#!/usr/bin/php <?php require_once './geoip.php'; require_once './geoip.conf.php'; $geoip = new xzy\geoip($geoipPath); $rule = $geoip->dropSegment($argv[1]); echo "$rule\n";
info at phpclasses dot org