Use GEOIP2 for PHP Geo IP data in WordPress, Magento, HTML

created April 8, 2014, last updated May 27, 2015.

.
closeThis post was last updated 9 years 11 months 16 days ago, some of the information contained here may no longer be actual and any referenced software versions may have been updated!

 

The above iFrame makes an ajax request to a PHP class querying GeoLite2 data created by MaxMind, available from http://www.maxmind.com.

This example displays the location of a single visitor i.e. YOU.

Click here to see the logging data for this WordPress blog which demonstrates a PHP memcache data logging solution with geo ip visitor data displayed dynamically on a google map.

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.