Re: getting $_ENV variables
| From: | Richard Davey | Date: | Sat, 12 May 2007 19:57:10 +0000 |
| Subject: | Re: getting $_ENV variables | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254857@lists.php.net to get a copy of this message | ||
tedd wrote:
At 11:54 AM +0100 5/10/07, C.R.Vegelin wrote:He wanted to tell the OS of the *server*, hence using a local environment setting. Cheers, Rich -- Zend Certified Engineer http://www.corephp.co.uk "Never trust a computer you can't throw out of a window"All I want is to check the $_ENV['OS'] within PHP scripts.If all you want to do is to find out what the user's OS is, try this: $_SERVER('HTTP_USER_AGENT') Do print_r($_SERVER) to see all it contains.