IP and gethostbyaddr() --- difference?

From: Date: Sat, 13 Dec 2008 23:28:57 +0000
Subject: IP and gethostbyaddr() --- difference?
Groups: php.general 
Request: Send a blank email to php-general+get-284592@lists.php.net to get a copy of this message
Hello, I am doing a view stats for my website. I've seen that many of such statistic scripts store two values to identify the visitor: IP and getHostByAddr(IP) I've been searching..., but I don't get why the IP address isn't enough by itself?! What is the getHostByAddr() = Internet host name for? When IP changes the hostname does too and vice-versa? What's the difference between these two values? And why do I need both of them? Martin

« previous php.general (#284592) next »