I am using the following PHP to target all browsers except Internet Explorer:
if(isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'],'MSIE') == false)) {
DO STUFF
}
I now want to target specific versions of Internet Explorer, i.e. to exclude only IE8 and lower versions, as opposed to all versions of IE.
How would I adapt the code above to achieve this?