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



		
	
Need help with Linux Server or WordPress? We can help!

Leave a Reply

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