my site uses browser detection on login, on login this detection is achieved using JavaScript and the verification script in PHP it works pretty good but on IE trouble begins, as the JavaScript navigator.userAgent returns
Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; rv:11.0) like Gecko
And PHP only returns
Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko
What's the fix for this? If there is some. I could not find anything about this even on MS website. On Opera, FireFox and Chrome the scripts are working just fine...