Query by providing the user agent:
look at http://www.useragentstring.com/pages/useragentstring.php or http://www.user-agents.org/
For mobile, look at http://en.wikipedia.org/wiki/List_of_user_agents_for_mobile_phones
array(23) { ["browser_compatibility"] => string(6) "Safari" ["browser_engine"] => string(11) "AppleWebKit" ["browser_name"] => string(11) "AppleWebKit" ["browser_version"] => string(3) "2.0" ["others"] => array(2) { ["full"] => string(91) "AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ["detail"] => array(1) { [0] => array(3) { [0] => string(91) "AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" [1] => string(11) "AppleWebKit" [2] => string(6) "537.36" } } } ["product_name"] => string(7) "Mozilla" ["product_version"] => string(3) "5.0" ["user_agent"] => string(11) "Mozilla/5.0" ["is_wireless_device"] => bool(false) ["is_mobile"] => bool(false) ["is_desktop"] => bool(true) ["is_tablet"] => bool(false) ["is_bot"] => bool(false) ["is_email"] => bool(false) ["is_text"] => bool(false) ["device_claims_web_support"] => bool(false) ["client_ip"] => string(12) "216.73.216.3" ["php_version"] => string(6) "5.4.16" ["server_os"] => string(6) "apache" ["server_os_version"] => string(5) "2.4.6" ["server_http_accept"] => string(3) "*/*" ["server_ip"] => string(13) "192.168.16.15" ["server_name"] => string(14) "153.150.249.49" }