Am 26.11.2011 01:35, schrieb Simon J Welsh:
On 26/11/2011, at 1:14 PM, Andreas wrote:

how could I identify the server the script runs on?


Great, that even works on a ssh-tunnel.
I got derailed by the fact that my tunnel maps the remote server to localhost:80 so
$_SERVER['SERVER_NAME']   wouldn't help.
On the other hand for everyone on the remote LAN $_SERVER['...'] would work ok, though I didn't realise that before.

Thanks   :)

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to