Re: operating system type
| From: | Steve Buehler | Date: | Thu, 25 Apr 2002 17:56:21 +0000 |
| Subject: | Re: operating system type | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94602@lists.php.net to get a copy of this message | ||
Thanks, but those just say "Linux". I was looking for what version. Like "RedHat 7.0".
Thanks
Steve
At 12:51 PM 4/25/2002, you wrote:
Look at a phpinfo() page...seems like there should be something that says this. Looked for you...$HTTP_ENV_VARS["OSTYPE"] or $_ENV["OSTYPE"] should work for you. ---John Holmes... ----- Original Message ----- From: "Steve Buehler" <steve@vespro.com> To: <php-general@lists.php.net> Sent: Thursday, April 25, 2002 1:31 PM Subject: [PHP] operating system type Does anybody know if there is a way for php to get the operating system type from a linux box? I know how to get the kernel version, but not the operating version/type. example. RedHat Linux 6.1 or 6.2 or 7.1, etc.... Thank You Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php