PHP: UserAgent

$userAgent = getBrowser();
echo $userAgent['name'];

See full snippet here: http://pastie.org/10908239

Advertisements