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));

Or you can use the following API


Comments

Leave a Reply

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