Re: HOSTNAME Environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, February 21, 2006 1:37 am, Ruben Rubio Rey wrote:
> How to set "Hostname" environment variable? (It contains the servers
> name, not the servers domain)
> Its a Linux server.

The environment variables come *FROM* the environment into PHP.

If you want them changed, you have to change your environment -- IE,
the environment of the user that PHP runs as (httpd.conf User
setting).

PHP essentially just "reports" what's in ENV, GET, POST, COOKIE etc.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux