detecting browser
Posted: Thu Mar 17, 2005 5:09 pm
ok ya i use $_SERVER['HTTP_USER_AGENT'] and it gives me insaine amounts of stuff about the browser but all i want is the first word(s) up to the 1st / so it is just the browser name. using get_browser is not a option. im sure this is a preg_match situation but me/regular expessions = suicide due to insanity. help?