1. Download IP geo database, I believe you can find some here: http://www.maxmind.com/en/geolocation_landing if you're using PHP just check $_SERVER['REMOTE_ADDR'] against the database to get the country.
2. Extract OS from $_SERVER['USER_AGENT'] (if the OS is present)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.