Re: Geting a computer name
| From: | Joseph Szobody | Date: | Sat, 17 May 2003 04:03:34 +0000 |
| Subject: | Re: Geting a computer name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148004@lists.php.net to get a copy of this message | ||
gethostbyaddr($_SERVER['REMOTE_ADDR']);
I've been able to get this to work only on a windows server. A linux box still returns the IP
address.
Joseph
"Zavaboy" <zavaboy@hotmail.com> wrote in message news:20030517023331.9690.qmail@pb1.pair.com...
> I know to use $REMOTE_ADDR to get a IP address but what about a computer
> name, how do I get that?
>
>