A simple GEOIP script in PHP