Posted in

PHP Script to Find GeoIP info

If you have PHP GeoIP module installed, you can use the following PHP script to find GeoIP info.

';
echo "\n\ngeoip_country_code_by_name\n\n";
print_r(geoip_country_code_by_name($ip));
echo "\n\ngeoip_record_by_name   \n\n";
print_r(geoip_record_by_name   ($ip));
Visited 1 times, 1 visit(s) today

Leave a Reply

Your email address will not be published. Required fields are marked *