_SERVER['HTTP_USER_AGENT'] vs. navigator.userAgent -same?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • juglesh

    _SERVER['HTTP_USER_AGENT'] vs. navigator.userAgent -same?


    are

    $_SERVER['HTTP_USER_AGEN T'] in php
    and
    navigator.userA gent in js

    the same thing? always?

    I just need to determine if the browser is IE5+ on win32 (.png issues).

    I need to know that on the server (php needs to know) and on the
    client.

    --
    thanks for your time,
    juglesh

  • ming

    #2
    Re: _SERVER['HTTP_USER_AGEN T'] vs. navigator.userA gent -same?

    They are the same.

    Ming


    juglesh wrote:[color=blue]
    > are
    >
    > $_SERVER['HTTP_USER_AGEN T'] in php
    > and
    > navigator.userA gent in js
    >
    > the same thing? always?
    >
    > I just need to determine if the browser is IE5+ on win32 (.png issues).
    >
    > I need to know that on the server (php needs to know) and on the
    > client.
    >[/color]

    Comment

    Working...