Help me understand MaxMind's GeoIP script better.

Paper Clique

New member
Apr 17, 2010
304
4
0
Simple question. I make calls to MaxMind's GeoIP script through JavaScript for one of my sites and I live in an area where there is never a "null response" no matter how many new IPs I go through. So my question is, for those of you that are living in parts of the US where MaxMind doesn't have data of, what does it return for geoip_city and geoip_region? I'm under the assumption that if geoip_city returns a null value that it will therefore make geoip_region a null value as well, if this is not the case please tell me all the variables it returns. This is relevant to me because I need to code an if then statement and if geoip_city doesn't work I could possibly use geoip_region, geoip_region_name, or even geoip_country_name.

Thank you and +rep to whoever has any helpful info.