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