I may not be able to answer your question but I did try what you suggested.
I can access the client's IP address using REMOTE_ADDR but REMOTE_HOST is not printed in the list of globals when i use the
print_r($GLOBALS);
It does however give us the IP address as well as user agent.
i think it has something to do with the DNS settings.
Chances are if you have a dynamic IP address, your system might not have a hostname to show, therefore your REMOTE_HOST would not be set.
Chris