Re: Not fair: REMOTE_HOST

From: Date: Thu, 21 Aug 2003 17:57:06 +0000
Subject: Re: Not fair: REMOTE_HOST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160324@lists.php.net to get a copy of this message
It does exist, if the server is set to resolve automatily. From PHP docs: Your web server must be configured to create this variable. For example in Apache you'll need HostnameLookups On inside httpd.conf for it to exist. //Simon John Taylor-Johnston wrote:
Aw gee, $_SERVER['REMOTE_HOST'] (only REMOTE_ADDR) does not exist in PHP? Bummer. Why is that?


« previous php.general (#160324) next »