I\'m using this JS code to know what browser is user using for.
And I
Use the native PHP $_SERVER['HTTP_USER_AGENT'] variable instead.
$_SERVER['HTTP_USER_AGENT']