Re: How to detect the host (window or Linux)?

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

 



On Mon, Sep 22, 2008 at 4:04 PM, Thodoris <tgol@xxxxxxxxxx> wrote:
>
>> $win = stripos(PHP_OS, 'win') !== false ? true : false;
> Perhaps you could also use this as an alternative:
>
> http://gr.php.net/manual/en/function.php-uname.php

Thanks Thodoris and Anderson. Sorry for not clear about the question.
I mean to detect the OS in Host system where the browser is located,
not the SERVER OS.

-- 
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