Solved

How to find my real location from an IP?

Posted on 2012-04-13
4
406 Views
Last Modified: 2012-08-13
Dear,
When I go to hidemyip.com, it shows that I am from Lebanon.
hidemyipBut when I go to whatismyip.com, it shows that my ip have 2 different locations:
iphave2locations.
and that i am not under proxy:
whatismyip
How can hidemyip know my real location, while whatismyip show 2 places?
Thx
0
Comment
Question by:hassanayoub85
  • 2
4 Comments
 
LVL 8

Expert Comment

by:coolfiger
ID: 37844199
its simple .. one system is using a diffrent lookup method form the other.,

How these thigns work is they query a database which refrences your IP address to a location. There are a few databases onlien which they can query to find your location via ip address. In some cases when they do not find yrou ip they try to locate you based on the owner of the netblock which the ip address range is registered to. This may be why whatmy ip shows you in two countries as the ip range may be spread accross both networks.


Some also use traces on your routes and identify the core internet routers to get your location .. it may be that to ..


mabe some one else has a better explanation
0
 

Author Comment

by:hassanayoub85
ID: 37844216
Ok good explanation which i was thinking on too.
However, Any idea how to use those libraries?
0
 
LVL 23

Expert Comment

by:basicinstinct
ID: 37844328
0
 
LVL 23

Accepted Solution

by:
basicinstinct earned 500 total points
ID: 37844360
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Several part series to implement Internet Explorer 11 Enterprise Mode
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

708 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

18 Experts available now in Live!

Get 1:1 Help Now