A PHP Class to detect a user's Browser. This encapsulation provides a breakdown of the browser and the version of the browser using the browser's user-agent string. This is not a guaranteed solution but provides an overall accurate way to detect what browser a user is using.
My mac is erroneously being detected as an iPad ($brower->getPlatform()) .
Safari reports: iPad Chrome reports: Apple Firefox reports: Apple
device: MacbookPro13,2 Safari Version 10.0.1 (12602.2.14.0.7)
any help would be appreciated