Find Browser Name and Capabilities in PHP
Jun 28, 2009 Useful PHP
To get the browser name just use this line:
<?php
print $_SERVER['HTTP_USER_AGENT'];
?>
And to get all the browser’s features use:
<?php
print_r(get_browser(null, true));//null for user agent and true to receive an array
?>
Read Find Browser Name and Capabilities in PHP »
Tags: php browser name, php detect visitor browser, php get browser, php get browser capabilities, php get user browser, php get user browser name, php get_browser, php get_browser() function

