[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Mapping IP address to country



On Thu, 29 Mar 2001, Krishna Srinivasan wrote:

> I Would like to track the users that visit my website.
> Interested in knowing which country they are form.
> The IP address is got using $REMOTE_ADDR in PHP.
> Now how do I map this to the country of origin.

	If you are running apache, webalizer does this work for you. Just
look at http://<your server>/usage. Otherwise read its source how it is
doing it.

-- 

#!!!	If anything can go wrong, _FIX_ it. (To hell with MURPHY)
	
						Ajay kumar Dwivedi
						 ajayd@xxxxxxxxxx