Re: $REMOTE_HOST in email subject

From: Date: Mon, 16 Feb 2004 00:38:12 +0000
Subject: Re: $REMOTE_HOST in email subject
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177759@lists.php.net to get a copy of this message
On Sun, 2004-02-15 at 19:03, Birkholz, James wrote: > mail(me@myISP.com,me@myOtherISP.com",'[FLAG] Info edited: '.$theInfo.' by > '.$REMOTE_HOST, 'From: '.$emailAdmin."\r\n"); Try $_SERVER['REMOTE_HOST'] Also, if apache is not configured with HostnameLookups On this won't be set. You can get the IP from: $_SERVER['REMOTE_ADDR'] -- Adam Bregenzer adam@bregenzer.net http://adam.bregenzer.net/

« previous php.general (#177759) next »