Re: [PHP] Question regarding OS

2006-06-27 Thread Ligaya Turmelle
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 - ne

Re: [PHP] Question regarding OS

2006-06-26 Thread Jochem Maas
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. > -- PHP General Mail

Re: [PHP] Question regarding OS

2006-06-26 Thread tedd
At 11:46 AM +1000 6/27/06, Ligaya Turmelle wrote: >Mayank Maheshwary wrote: >>Hi, >> >>Is there a function that can detect the OS on which the script is running? >> >>Thank you. >> >>M. >> >The OS of the server maybe $_SERVER['SERVER_SOFTWARE'] - *shrug* >The OS of the client is not available - ser

Re: [PHP] Question regarding OS

2006-06-26 Thread Ligaya Turmelle
Mayank Maheshwary wrote: Hi, Is there a function that can detect the OS on which the script is running? Thank you. M. The OS of the server maybe $_SERVER['SERVER_SOFTWARE'] - *shrug* The OS of the client is not available - server side - remember. -- life is a game... so have fun. -- PHP