Re: Question regarding OS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jochem Maas wrote:
Mayank Maheshwary wrote:

Hi,

Is there a function that can detect the OS on which the script is running?


yes.

php_uname()

read about it here http://php.net/manual/en/function.php-uname.php
and then read 10 pages either side just for fun :-)


Thank you.

M.



Ha - never heard of that function... Thanks.

--

life is a game... so have fun.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux