Re: Best way to test for host operating system?



That did it!

Thanks

Larry

"Wolfgang Forstmeier" <wolfgang.forstmeier@xxxxxx> wrote in message
news:df1lh9$7k8$1@xxxxxxxxxxxxxxxxxx
> Hi,
>
> try to use the PHP_OS predefined constant.
>
> More constants are shown here...
>
> http://de2.php.net/manual/en/reserved.constants.php
>
>
> lwoods wrote:
>> I am running under Windows at the present time and have found that I need
>> to change code from linux implementation.
>>
>> How do I test to see which O/S I am running under?
>>
>> TIA,
>>
>> Larry Woods


.



Relevant Pages


Loading