?
Solved

IP Detection & Location

Posted on 2010-11-19
5
Medium Priority
?
518 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 total points
ID: 34176191
i found something in asp classic:
http://www.codeproject.com/kb/asp/geoip.aspx

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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

777 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