Here is a website which maps browser name with user Agent Name.This will be helpful for finding browser name from Apache(Web Server) access logs.
http://www.useragentstring.com/pages/Browserlist/
$fp = fsockopen("SomeLiveSite", 80, $errornumber, $errorstring, 30);
if (!$fp) {
echo "$errorstring($errornumber)
\n";
} else {
echo "Sucess";
fclose($fp);
}