Forum Moderators: coopster
I would like to find a definitive list of the possible contents of the $_SERVER['HTTP_USER_AGENT'] variable, so that I know I can correctly preg_match it for early browser types.
Is there a list anywhere, so that I can see clearly, for example, what the result is of someone using IE5 on a Mac, Netscape 4.x on a PC, and other combinations?
Michael
Generally sniff for Mozilla -> mozilla client, then if MSIE then change to IE client...
Remember that people often change their UA for various reasons (so they aren't told sites don't work with XYZ browser when they do, so they can protect their privacy, so they can enhance security, because they are paranoid...)