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

Reply via email to