How to track user info on the base of IP address

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
eshban
Forum Contributor
Posts: 184
Joined: Mon Sep 05, 2005 1:38 am

How to track user info on the base of IP address

Post by eshban »

is there any way / example in php to track visitors country, isp, city, state etc by just IP address

please help in this regarding
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Find a good, regurlarly updated geoip database.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: How to track user info on the base of IP address

Post by califdon »

eshban wrote:is there any way / example in php to track visitors country, isp, city, state etc by just IP address
Remember, the IP address only identifies to whom that IP address was issued. The best you can hope for is a general idea of the location of any particular user. If it's in a block issued to an ISP, their customers could be anywhere. If it's issued to a company, it could be any of their offices around the world. You can get some general ideas of where your traffic is originating, but don't expect to learn where each visitor actually is.
Post Reply