Re: whic OS is under?
| From: | Lars Torben Wilson | Date: | Tue, 05 Feb 2002 21:44:05 +0000 |
| Subject: | Re: whic OS is under? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83638@lists.php.net to get a copy of this message | ||
On Mon, 2002-02-04 at 05:45, Ivo Stoykov wrote:
> Hi group:
>
> Is there a way to guess which OS the script is running? I couldn't find
> anything in the manual about this.
>
> Thank you
>
> Ivo
The constant PHP_OS will tell you. For a list of all currently
defined constants, try http://www.php.net/get_defined_constants.
Hope this helps,
Torben
--
Torben Wilson <torben@php.net>
http://www.thebuttlesschaps.com
http://www.hybrid17.com
http://www.inflatableeye.com
+1.604.709.0506