=== Ip2country === Contributors: webvitaly Plugin URI: http://web-profile.com.ua/wordpress/plugins/ip2country/ Tags: ip2country, ip-to-country, geolocation, country Author URI: http://web-profile.com.ua/wordpress/ Requires at least: 3.0 Tested up to: 3.2 Stable tag: 1.0.0 This plugin converts ip-address to the country. == Description == Code is based on: http://phpweby.com/software/ip2country Ip2country database is based on: http://maxmind.com/ Ip2country database is stored on your site. Usage: ` country_code; echo ' Country name: '.$ip2country->country_name; $ip2country2 = ip2country('212.113.46.148'); echo ' Country code: '.$ip2country2->country_code; echo ' Country name: '.$ip2country2->country_name; ?> ` [Ip2country plugin page](http://web-profile.com.ua/wordpress/plugins/ip2country/) [WordPress stuff](http://web-profile.com.ua/wordpress/) == Screenshots == 1. phpMyAdmin == Changelog == = 1.0.0 = * Initial release; == Installation == 1. Install plugin and activate it on the Plugins page; 2. Insert [ip2country dump](http://svn.wp-plugins.org/ip2country/trunk/wp_ip2country.zip) into your database using phpMyAdmin (if your database prefix is not "wp_", you should change prefix inside the sql database dump manually); 3. You can use plugin functions to get country from ip;