Hey,

Currently I'm trying to set up a system on the website to detect the OS &
the browser type & version of incoming traffic.  Is there an easier way to
do this than trying to parse the HTTP_USER_AGENT variable?  I'm coming from
an ASP/VBScript background & these were specific variables as part of the
browser information.  I'm asking cause the only way I can think of to parse
this correctly is to search for OSs (Linux, Unix, Win, Mac, etc), & then
search for browsers (Konqueror, MSIE, Gecko, etc).  The only problem I see
with this is that I could really be missing alot of browsers if I don't have
a full listing of browsers to search for.

Has anyone else done something similar to this?  The main purpose for doing
this is to find out what clients are using the most so that we can provide
content more specific to the browsers.  I've noticed things that work on Win
MSIE don't look half the same on Mac MSIE, not to mention the differences
between MSIE, Konqueror, & Mozilla.   The other reason is I have people
developing stuff on Mac, Linux, & Windoze.  I'm trying to put together
something sane to mesh all of these together.

Another reason is because we're cheap & can't afford hardware to seperate
wireless clients from everyone else so we're trying to do this by parsing
the browser info & sending people to the correct page.  Is there an easier
way of doing this on the server side?  Something I missed in apache or red
hat that might let me do this?

Patrick



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to