Quote:
Originally Posted by srockhard
This looks real good...I will give it a try tomorrow. What about geo codes on the state and city level...all of which will be in the United States? Is it possible to get that specific?
|
access this link
http://j.maxmind.com/app/geoip.js
you will get something like this
Code:
function geoip_country_code() { return 'DE'; }
function geoip_country_name() { return 'Germany'; }
function geoip_city() { return 'Berlin'; }
function geoip_region() { return '16'; }
function geoip_region_name() { return 'Berlin'; }
function geoip_latitude() { return '52.5167'; }
function geoip_longitude() { return '13.4000'; }
function geoip_postal_code() { return ''; }
function geoip_area_code() { return ''; }
function geoip_metro_code() { return ''; }
you can catch every variable from above list.,
like the script i posted b4 using geoip_country_code()
you can set to any of the above.
try it.,