| 
	
 | 
 Posted by Janwillem Borleffs on 03/13/06 00:20 
windandwaves wrote: 
> As part of my statistical analysis of the visitors to my site, I 
> record people's IP address.  Is there an easy way to get more 
> information (where people are from, maybe even long. and latitude) or 
> perhaps translate the IP address into a named address? 
> 
 
For the latter, you could use gethostbyaddr(): 
 
http://www.php.net/manual/nl/function.gethostbyaddr.php 
 
To get detailed information, you could use a database service like the one  
from maxmind: 
 
http://www.maxmind.com/app/php 
 
 
JW
 
  
Navigation:
[Reply to this message] 
 |