I am trying to do some php browser testing. When I looked at
$_SERVER['HTTP_USER_AGENT'
I found that it returned this:
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
even though I was on IE 11.
When I was on Chrome, it returned this:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36
Which makes more sense. Why is there no MSIE in the IE, and how can I target it?