Did you know that PHP has a built in function to detect which browser your page visitor is running? Try :
< ?
$get_visitor_browser = get_browser(null,true);
print_r($get_visitor_browser);
?>
The output of this function is an object which includes details of the user’s browser:
[browser_name_regex] => ^mozilla/5.0 (windows; .*; windows nt 5.1.*) gecko/.* firefox/1.5.*$
[browser_name_pattern] => Mozilla/5.0 (Windows; *; Windows NT 5.1*) [...]


