Solved

IP Detection & Location

Posted on 2010-11-19
5
509 Views
Last Modified: 2012-05-10
Hello Experts

I'mm building a site that will offer services in several cities and I'm looking for any ideas on how can i detect the visitor's ip address (as many sites doo), figure its location and durect  them to the nearest city available.

Partially this would be like www.whatismyip.com and i think its fairly easy to capture the ip address?

Secondly, how do i determine the location of a ip? is there a formula or database?.

And finally, how would i find the closest city available - would i use somehow a GPS system, or lattitude/langitude, etc?

any ideas will be truly appreciated.
0
Comment
Question by:APD_Toronto
  • 3
5 Comments
 
LVL 13

Expert Comment

by:Molnar István
ID: 34175990
if you are developing in asp.net you can use the free control of subgurim, here is an example to ip locate on map:
http://en.googlemaps.subgurim.net/ejemplos/ejemplo_99999999_GeoIP.aspx
0
 

Author Comment

by:APD_Toronto
ID: 34176140
What about classic asp?

can i easily pass to aspx w/o any aspx knowledge?
0
 
LVL 13

Accepted Solution

by:
Molnar István earned 500 total points
ID: 34176191
i found something in asp classic:
http://www.codeproject.com/kb/asp/geoip.aspx

0
 
LVL 13

Expert Comment

by:Molnar István
ID: 34176775
0
 
LVL 25

Expert Comment

by:kevp75
ID: 34183293
Mos of the time you can connect to a webservice to do this
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now