Probably the Global Variable $SERVER_NAME helps you out.
Greetings
Mirco bLitz
-Ursprüngliche Nachricht-
Von: Gerard Samuel [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 13. Februar 2005 19:33
An: php-general
Betreff: [PHP] Determine SERVER_NAME
Via cli that is.
Is there anyway besides
Mirco Blitz wrote:
Probably the Global Variable $SERVER_NAME helps you out.
The global variable $SERVER_NAME is not available via cli
(at least for me)
-Ursprüngliche Nachricht-
Von: Gerard Samuel [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 13. Februar 2005 19:33
An: php-general
php_uname()
B.
On Sunday 13 February 2005 20:37, Gerard Samuel wrote:
Mirco Blitz wrote:
Probably the Global Variable $SERVER_NAME helps you out.
The global variable $SERVER_NAME is not available via cli
(at least for me)
-Ursprüngliche Nachricht-
Von: Gerard Samuel
Bostjan Skufca @ domenca.com wrote:
php_uname()
That works -
$ php -r var_dump(php_uname('n'));
string(20) gladiator.trini0.org
Thanks
On Sunday 13 February 2005 20:37, Gerard Samuel wrote:
Mirco Blitz wrote:
Probably the Global Variable $SERVER_NAME helps you out.
The global
4 matches
Mail list logo