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
$_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.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php