PDA

View Full Version : Which way of getting gethostbyaddr is better?


Boofo
04-13-2011, 09:33 PM
Which way of get the host name in vb 4 is better/faster and less resource intensive, and why?

This way?

$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);


Or like this?

$hostname = gethostbyaddr(IPADDRESS);