...

View Full Version : What IP can tell me?



auriaks
07-02-2010, 05:03 PM
Hi,

I know ones' IP, and I want to know where "it" is - city and address...

Is it possible? OR Can I create a script to do locating? {It would detect all info when he is on the page with script}

All, suggestions are welcome...

Fou-Lu
07-04-2010, 09:54 PM
Geo locating *may* be able to get the country, region and sometimes city. There exists no implied accuracy, except in domain lookups with provided addressing (so, businesses maybe). That would be exclusive of NAT.
My last test put my expected location (non-proxied, with an accurate ip) over 3400KM away and in a different country. So to answer your question, an ip can provide nothing of tangable value. We log so if any illegal activity occurs the address can be provided to authority and they can work with the isp - an ISP will not provide end users with information. Static addresses can be used for blocking, but thats about the extent of its value on the web.

auriaks
07-05-2010, 10:37 AM
Could you post a script which you used?

I know that is is really not accurate detection, but maybe it will show a real place. If it will show many KM from me, I will understand it as a fail info :)

Philip M
07-05-2010, 11:07 AM
Firefox Plugin:
Displays IP Trace information when you hover over a link.
Hostipfox 0.4.3.9 (download)
Source: git://github.com/bfolkens/hostipfox-firefox-plugin.git

It is your responsibility to die() if necessary….. - PHP Manual

auriaks
07-07-2010, 03:03 PM
I need script which could show not mine but others information...

Fou-Lu
07-07-2010, 03:11 PM
PHP has a geoip module through pecl.
http://php.net/manual/en/book.geoip.php
Getting the hostname is generally just gethostbyaddr. BTW, that one can also fail.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum