Posted by Sean on 03/12/07 16:34
"Peter" <Will_Bounce_So_Use_My_First_Name@Smart-Projects.net> wrote in
message news:UQeJh.62286$k46.465054@phobos.telenet-ops.be...
> Hi,
>
> Is it possible to "see" if a visitor uses VISTA ?
>
> As a gadget I was thinking of displaying screenshots made under VISTA (of
> an application) if the visitor is using VISTA, and XP screenshots if not.
> Of course if this is too hard or too untrustworthy I won't do it, just
> wondering.
>
Would suggest that this could probably be done in Javascript by
interrogating
navigator.userAgent
No use attacking this in PHP as PHP is server-side and you need to gather
the information on the client side.
A search on Google will provide tons of information on "navigator.userAgent"
and "navigator.appVersion" for you.
Sean
Navigation:
[Reply to this message]
|