View Single Post
Old 12-16-2012, 06:14 AM  
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,038
Quote:
Originally Posted by JamesM View Post
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.,
I did not know they where doing that - I have been using the DB on my own server - I will have a look at the rate limits, I might use that instead....

Thanks
__________________
-

Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote