Re: How to know what current system is?

From: Date: Mon, 13 Oct 2008 21:21:50 +0000
Subject: Re: How to know what current system is?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-281838@lists.php.net to get a copy of this message
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

« previous php.general (#281838) next »