Re: Computers name?
| From: | Oliver Grätz | Date: | Thu, 01 Sep 2005 14:08:25 +0000 |
| Subject: | Re: Computers name? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221689@lists.php.net to get a copy of this message | ||
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]