Remote computer name?
| From: | Jas | Date: | Thu, 20 Nov 2003 17:38:39 +0000 |
| Subject: | Remote computer name? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170452@lists.php.net to get a copy of this message | ||
I am at a loss here but doesn't $_SERVER['HTTP_HOST'] return the remote computer name?
[Snippit used]
$ipaddy = $_SERVER['REMOTE_ADDR'];
$host = $_SERVER['HTTP_HOST']; // as of now it is getting the name of the server (i.e. localhost, 168.2.2.1)
jas