• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 524
  • Last Modified:

IP Detection & Location

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.
  • 3
1 Solution
Molnar IstvánHelpDesk / ProgrammerCommented:
if you are developing in asp.net you can use the free control of subgurim, here is an example to ip locate on map:
APD_TorontoAuthor Commented:
What about classic asp?

can i easily pass to aspx w/o any aspx knowledge?
Molnar IstvánHelpDesk / ProgrammerCommented:
i found something in asp classic:

Mos of the time you can connect to a webservice to do this

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now