View previous topic :: View next topic |
Author |
Message |
Sharp
Joined: 20 Oct 2004 Posts: 6
|
Posted: Wed Oct 20, 2004 9:57 am Post subject: IP address map to country? |
|
|
Is there a way to find out what country my users are coming from in ASP? I know how to get the user's IP address with Request.ServerVariables("REMOTE_ADDR"), but how do I know which country does this IP belong to?
Yours,
Sharp |
|
Back to top |
|
|
administrator Site Admin
Joined: 01 Oct 2004 Posts: 183
|
Posted: Wed Oct 20, 2004 2:07 pm Post subject: |
|
|
Welcome to the forums Sharp
There are several companies offering paid databases, which map IP ranges to geographical location. These databases are updated usually 4-6 times a year.
Your second option is to create your own geo/IP database, using publicly available data:
http://arin.net/
http://ripe.net/
Let me know if you need more information. _________________ Peter
ASP & ASP.NET Articles and Tutorials |
|
Back to top |
|
|
Sharp
Joined: 20 Oct 2004 Posts: 6
|
Posted: Wed Oct 20, 2004 3:16 pm Post subject: |
|
|
Thanks Peter
I think I'll go with the second option and create the geo-to-IP database myself. I'll be back here if I need any help with the database . |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|