note 24245 added to function.gethostbyaddr

From: Date: Sat, 10 Aug 2002 13:58:06 +0000
Subject: note 24245 added to function.gethostbyaddr
Groups: php.notes 
Request: Send a blank email to php-notes+get-34670@lists.php.net to get a copy of this message
Turning on the HostnameLookup function on in the apache configuration file will severely increase the loading times of all the pages serviced by the httpd-server. It's mostly a better idea to just use gethostbyaddr($REMOTE_ADDR); instead of $REMOTE_HOST if you turned HostnameLookups On, unless you want the hostnames specified in apache's log file... -- http://www.php.net/manual/en/function.gethostbyaddr.php http://master.php.net/manage/user-notes.php?action=edit+24245 http://master.php.net/manage/user-notes.php?action=delete+24245 http://master.php.net/manage/user-notes.php?action=reject+24245

« previous php.notes (#34670) next »