Join Up!
96656 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousphp_sapi_namephpcreditsnext
Last updated: Tue, 29 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | German

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.

Ejemplo 1. php_uname() Example

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

User Contributed Notes
php_uname
add a note about notes
There are no user contributed notes for this page.
previousphp_sapi_namephpcreditsnext
Last updated: Tue, 29 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST