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 <[EMAIL PROTECTED]>
 http://www.thebuttlesschaps.com
 http://www.hybrid17.com
 http://www.inflatableeye.com
 +1.604.709.0506


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

Reply via email to