Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.hcs.cmc.msu.ru/php/function.php-uname.html
Дата изменения: Sun Feb 3 22:52:35 2002
Дата индексирования: Mon Oct 1 21:45:22 2012
Кодировка:
php_uname

php_uname

(PHP 4 >= 4.0.2)

php_uname --  Returns information about the operating system PHP was built on

Description

string php_uname ( (void);)

php_uname() returns a string with a description of the operating system PHP is built on.

Example 1. php_uname() Example

if (substr(php_uname(), 0, 7) == "Windows") {
   die ("Sorry, this script doesn't run on Windows.\n");
}