I am using this preg_match string
preg_match
preg_match(\'/Trident/7.0; rv:11.0/\',$_SERVER[\"HTTP_USER_AGENT\"]
to detect IE11 so I can
I would use the browscap project to get this data myself. It's faster and more reliable