Some web servers do not resolve a clients IP address into a host name, as it creates a delay serving up a web page.
If you wish to resolve the IP in REMOTE_ADDR, you can use gethostbyaddr($ip_address)
Though, this may add a delay into your PHP script, while the server tries to resolve the address.
Max