Look up the browscap.ini file and return the capabilities of the browser in PHP
Description
The following code shows how to look up the browscap.ini file and return the capabilities of the browser.
Example
/*from w w w . j ava2 s .c om*/
<?php
echo $_SERVER['HTTP_USER_AGENT'];
$browser = get_browser();
print_r($browser);
?>