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));
Add a comment

Leave a Reply

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

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement