Re: HOSTNAME Environment variable
| From: | Richard Lynch | Date: | Tue, 21 Feb 2006 22:22:01 +0000 |
| Subject: | Re: HOSTNAME Environment variable | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230847@lists.php.net to get a copy of this message | ||
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