Backend Development

PHP Browser Information

Submitted by Nobody, , Thread ID: 50516

Thread Closed
10-10-2017, 05:20 PM
#1
Function to retrieve browser information.




function browser_al($useragent = '')
{
if ($useragent == '')
{
$useragent = $_SERVER['HTTP_USER_AGENT'];
}
$browser_name = '';
$browsers = array();

$browsers[] = array('name' => 'AmigaVoyager', 'useragent' => 'AmigaVoyager');
$browsers[] = array('name' => 'Apple Generic', 'useragent' => 'CFNetwork');

Users browsing this thread: 1 Guest(s)