MaxMind GeoIP is a collection of APIs for looking up the location of an IP address. It includes support for lookup of country, region, city, latitude, and longitude. Free GeoLite databases are available for the country and city.
Daily Archives: February 1, 2012
Installing the PHP geolocalization extension on CentOS
Lately, I’ve had the need to install a geolocation database on a web server to localize (as closely as possible) a visitor based on its IP address.
Prevent Duplicate Form Submission
You can use the method below to prevent duplicate form submission or form re-submission using PHP. This method is simple to implement and does not require JavaScript.