gethostbyaddr help please
Posted: Fri Jul 07, 2006 1:55 pm
Hi everyone - i'm trying to use the function gethostbyaddr() but when i do so, the function always returns the IP address i passed in. In other words, it's failing.
Does anyone know if there is some kind of environment setting i need to turn on for this function to work correctly?
In case you're wondering, i'm using this function in it's most basic of situations:
Any help is appreciated. Thanks!
Does anyone know if there is some kind of environment setting i need to turn on for this function to work correctly?
In case you're wondering, i'm using this function in it's most basic of situations:
Code: Select all
$remoteServer = gethostbyaddr($REMOTE_ADDR);