地址定位帮助进行IP地址搜索?

I'm trying to create a system in my website using geolocation that shows the user his location and stuff about him. I'm trying to implement a search like thing, which will search for other people's geolocation who have a longitude and lattitude almost the same as you, and will display their name. I've tryed googling it, searching it, with no luck. I've found a search bar in php, how to do geolocation, but not how to put them together. Thanks

Geolocation by IP is not reliable. IP addresses don't correlate to locations, they only correlate to networks.

Based on the known location of a network you can guess where the user is, but while some networks cover only a city or part of it, others cover multiple countries at once. There is no way to know with reliable precision where you really are just by IP.

I believe this's everything you need. I complated a short script to get information of ips that visited my website. It can get country, city,ip address, flag of country, coordinates on google map, links that visitor visited. You can understand and download when read this link : IP Geolocation

Good luck to you.