John Taylor-Johnston wrote:
PHP is Open Source. This is the general forum. Here is my suggestion:

Create $_SERVER['REMOTE_HOST'] as a variable.

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

is getting old. Anyone agree?


The problem is that gethostbyaddr is an expesive call, DNS server must be contacted. And most of the time you don't need it.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to