Did you even look at the links I provided? get_browser() will tell you everything you can possibly find out about the users user-agent, and you can write your if statements off the values in the object it returns.
User agents are sent by the client, and can be changed at will to anything at all by anyone who knows what they're doing. Some browsers ( Opera and Lynx for instance ) even come with the option to make it seem like you're using Intrnet Explorer / Netscape / another browser when you're really using Opera / another browser.
$_SERVER['HTTP_USER_AGENT'] contains all the information the browser sends about itself.