> 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.
It's really none of your business what OS I'm running :-v
You may be able to make an educated guess from the HTTP headers in $_SERVER
On Wed, 2008-09-24 at 19:01 +1000, hce wrote:
> On Mon, Sep 22, 2008 at 4:04 PM, Thodoris <[EMAIL PROTECTED]> 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
>
On Mon, Sep 22, 2008 at 4:04 PM, Thodoris <[EMAIL PROTECTED]> 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
$win = stripos(PHP_OS, 'win') !== false ? true : false;
Anderson Franco
Web Developer
Franco Tecnologia Bras. e Com. LTDA
Phone / Fax: +55 (19) 3455 2262
Email: [EMAIL PROTECTED]
MSN/GTalk: [EMAIL PROTECTED]
Skype: francotecnologia
On Sat, Sep 20, 2008 at 7:38 PM, hce <[EMAIL PROTECTED]> wro
$win = stripos(PHP_OS, 'win') !== false ? true : false;
Anderson Franco
Web Developer
Franco Tecnologia Bras. e Com. LTDA
Phone / Fax: +55 (19) 3455 2262
Email: [EMAIL PROTECTED]
MSN/GTalk: [EMAIL PROTECTED]
Skype: francotecnologia
On Sat, Sep 20, 2008 at 7:38 PM, hce <[EMAIL PROTECTED]> wrote:
5 matches
Mail list logo