Hi!
I'd love to see support for the Maxmind GeoIP ip<->location database.
All information required can be found here: http://www.maxmind.com/app/php
One note though! When using the Apache mod_geoip module (which should be supported along side the "pure php" library provided by Maxmind) they give this example on their page:
$country_code = apache_note("GEOIP_COUNTRY_CODE");
$country_name = apache_note("GEOIP_COUNTRY_NAME");
This will *only* work when PHP is running via mod_php - if you consider implementing this, *please* check for the environment variables used when running PHP via FastCGI or as regular CGI. It looks like this (possibly a CITY variable will also be available in some scenarios):
$_ENV["GEOIP_CONTINENT_CODE"] (EU)
$_ENV["GEOIP_COUNTRY_CODE"] (DK)
$_ENV["GEOIP_COUNTRY_NAME"] (Denmark)
I've also noticed the same variables in the $_SERVER array, but I'm not sure which is the "correct" one to use.
Let me know if there is anything I can do to help.