Jiang Miao wrote:
> Is there any function do that?
> when php in Linux it returns linux
> in windows it returns windows
> 
> I found phpinfo(INFO_GENERAL); output the string System => Linux ubuntu
> 2.6.24-19-server. but I have no idea to get that info.
> 
> Thanks
> Jiang Miao
> 

PHP_OS constant.

-Shawn

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

Reply via email to