How can I resolve the hostname from REMOTE_HOST variable?
TIA
Do you mean get the hostname from the REMOTE_ADDR variable?
<? $ip = $_SERVER['REMOTE_ADDR']; echo "$ip<BR>\n"; echo gethostbyaddr($ip); ?>
Originally posted by mattwade Do you mean get the hostname from the REMOTE_ADDR variable? <? $ip = $_SERVER['REMOTE_ADDR']; echo "$ip<BR>\n"; echo gethostbyaddr($ip); ?> [/B]
Originally posted by mattwade Do you mean get the hostname from the REMOTE_ADDR variable?
[/B]
You're a good man. Don't ever let anyone tell you any different! 😃