Setting up Maxmind GEOIP2 Legacy Database with PHP or Javascript