Analyse the server's USER-AGENT against browsecap file to determine it's capability.
Does your application need to know user's details on browser details, os and device type? We can use PHP's misc. function to achieve that provided you have an update copy of browsercap.ini