|
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7">php_uname (PHP 4 >= 4.0.2) php_uname --
Returns information about the operating system PHP was built on
Descriptionstring php_uname ( void)
php_uname() returns a string with a
description of the operating system PHP is built on.
Beispiel 1. php_uname() Example if (substr(php_uname(), 0, 7) == "Windows") {
die ("Sorry, this script doesn't run on Windows.\n");
} |
|
|