geoip

How to get City, Country, and Country Code for a particular IP Address in ASP.NET?

Hi, I am having an application in which i am storing user ip address. But now i want to store the City, Country and Country Code of the user on the basis of their ip addresses. So I am able to get the user's IP Address in ASP.NET but how to get other details. If its possible (which i don't thin it is) then tell me else tell me some alte...

How to determine default Accept-Language header based on IP (country code)?

Hello, I want like to enhance spam protection on my site. I've found out that after being banned by ip bots don't change the Accept-Language and Accept-Charset http headers (so most of spam comes with windows-1251 accept-charset). I understand that there may be normal users with unordinary preferences, but anyways, how can I determine wh...

How accurate is GeoIP and $_SERVER['REMOTE_ADDR']?

I make a website for my girlfriend and she recently wants to know who is accessing her site. So I use the database of MindMax and I got the list and count of access by country. However, after monitoring it for a few days, it is comes to our surprise that there are accesses from some countries which the website is not target to. Of cours...

What is the best provider of geoip data

Hello, For our company's website and product we're searching for a high-quality, reliable and cost-effective geoip solution. The interesting geoip properties are country and company. We need the possibility to download the database to a local server (an online service is not enough). If anybody has done such a comparison could you plea...

AWStats and Extra Section with GeoIP country data

I'm new to AWStats, so if this question is unclear, please ask for the needed information. I'm using AWStats v6.9, with the GeoIP plug-in running successfully. I would like to write an Extra Section that reports unique page hits for one specific page in my domain sorted by country. So the table would look something like: Country Code...

Serving east/west coasts with Geoipdns and MaxMind GeoLite data

I want to serve east (west) coast visitors with my Virginia (California) server. To do so, I plan to use Geoipdns and the IP-to-location mappings from MaxMind. MaxMind provide two datasets for free: GeoLite Country and GeoLite City. However, neither of them has east/west coast regions defined. A possible solution is to write a script...

Ruby geoip_city on Windows

Is there a way to get geoip_city, the Ruby gem, running on Windows? ...

How to calculate an IPv6 IP Number?

I'm adding GeoIP tracking to WCF Web Service using MaxMinds' GeoIP Lite Country. All works well for their IPv4 database but they don't give any samples to calculate an IPv6 IP Number. I've contacted them and they said to use a search engine. Anyone have a sample they're willing to share? Any language will do. ...

mod_geoip2 and php pecl-geoip: how can i query by ip address?

Hiya. how can i query the geoip database using php? I have apache2 with mod_geoip2 installed and the pecl extension geoip PHP 5.3. i want to search the country of the ip address i have as a parameter, not to query my own ip address. thanks ...

Geo input - how to input, store and display locations.

I would like to store a user enter location and could do with some pointers on how to go about it. Input - I wish to allow the user to enter a location using either a map (eg Google maps) or text input. Storage - I believe it would make sense to store the location as the longitude and latitude. Manipulation and Display - I'd like to d...

What's the most accurate way to determine user geolocation in the browser?

I found a few examples suggesting Google AJAX APIs. This link typifies the advice I have found so far: http://briancray.com/2009/05/29/find-web-visitors-location-javascript-google-api/ However, the location is often wrong with the Google APIs. Other sites seem to know exactly which city I'm in, though, without me entering any informat...

free geolocation geoip, are they viable?

I'm trying to get a visitor's location based on their IP, pretty common stuff. My research so far shows that there's a database from MaxMind that costs $370 + $90/month... not the type of cost I can afford. Then there's a free version called GeoLite City. Anyone used these before? Drop a quick line here please. Why is one free and the ...

How to use google translate to translate website automatically using geoip

I have been looking around the internet for a script which would use google translate api to translate a website automatically through a geoip script without the need of clicking translate button. Since google does provide a small div snippet which you can add to your website and then through a drop down menu you can choose the language ...

Track user's country in PHP & MySQL

Hi, I'm creating a URL Shortening website. I want to allow users to view the stats for the links. I planned to do Country stats. I think I should use a library similar to GeoIP for PHP to get the country, but, how can be the MySQL. My weakness is the design of the MySQL tables. Can you recommend me a table format, please? ...

Where to find great proxy servers for testing GeoIP services?

We would like to test a GeoIP-Service. Therefore we need to go to the site with an IP from another country. There are a lot of free proxy lists like http://nntime.com/proxy-country/ The problem with them is, that only the CoDeen-Proxies are working. But with CoDeen you can't select your country of origin (the same as with TOR). You get...

Error installing geoip_city gem

I keep getting an error when trying to install the geoip_city gem. I've already installed the GeoIP C library to /opt/GeoIP, but the gem doesn't seem to pick it up. I've tried: sudo gem install geoip_city -- --with-geoip-dir=/opt/GeoIP sudo gem install geoip_city -- --with-geoip-lib=/opt/GeoIP/lib sudo gem install geoip_city -- --wi...

How to display last 100 visitors to my web site in Silverlight?

I am interesting on log down the recent 100 visitors around the world whom have visited to my website and display their country information and IP address on the website developed by Silverlight platform. Where can I get accurate data for detecting the visitors' IP address and geo-location information? ...

can't load/read yahoo geocode as xml and read it in jquery

Hi, I tried saving the result as an xml, when I read from there it works, but if I read it from yahoo's api, doesn't load anything. You can check it here here's my script $(document).ready(function(){ $.ajax({ type: "GET", url: "http://local.yahooapis.com/MapsService/V1/geocode?appid=YD-9G7bey8_JXxQP6rxl.fBFGgCdNjoDMACQA--&zip=100...

Global proxy for use in debugging GeoIP from multiple countries

I'm looking for a solution to test an application's response to people around the globe, based on IP. This would be a service where i could choose a country (or at least continent/some countries such as US, Japan, Germany..) and it would tunnel the traffic through a proxy there. To the server it would look like i'm somewhere far away and...

PHP Regex for IP to Location API

How would I use Regex to get the information on a IP to Location API This is the API http://ipinfodb.com/ip_query.php?ip=74.125.45.100 I would need to get the Country Name, Region/State, and City. I tried this: $ip = $_SERVER["REMOTE_ADDR"]; $contents = @file_get_contents('http://ipinfodb.com/ip_query.php?ip=' . $ip . ''); $pattern ...