Re: Re: Computers name?
| From: | Rory Browne | Date: | Thu, 01 Sep 2005 18:33:01 +0000 |
| Subject: | Re: Re: Computers name? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221709@lists.php.net to get a copy of this message | ||
Your best hope is to do a reverse lookup on the IP address.
On 9/1/05, Oliver Grätz <oliver.graetz@arcor.de> wrote:
> Gustav Wiberg schrieb:
> > Hi there!
> >
> > Is it possible to get (retrieve) the computername of the client? I just want
> > the name for comparing...
>
> In PHP all you get from the client is in the predefines variables:
> http://de.php.net/manual/en/language.variables.predefined.php
>
> Perhaps these are of any help:
>
> http://de.php.net/manual/en/reserved.variables.php#reserved.variables.server
>
> If you cannnot find what you need in these (hint: print_r($GLOBALS);),
> your last resort might be JavaScript which runs in a sandbox, too, so
> don't bet on it.
>
>
> AllOlli
> ____________
> Byers: "What proof do you have?"
> Bond: "I got this!"
> Byers: "You're on the phone, Jimmy!"
> [Lone Gunmen 09]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>