RE: [PHP] How to know what current system is?

From: Date: Mon, 13 Oct 2008 21:28:55 +0000
Subject: RE: [PHP] How to know what current system is?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-281839@lists.php.net to get a copy of this message
You can try, $_SERVER['SERVER_SOFTWARE'] -----Original Message----- From: news [mailto:news@ger.gmane.org] On Behalf Of Jiang Miao Sent: Monday, October 13, 2008 3:44 PM To: php-general@lists.php.net Subject: [PHP] How to know what current system is? 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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#281839) next »