Hello, Is there a php code like <?php if ((navigator.userAgent.indexOf('Internet Explorer') != -1) || (navigator.userAgent.indexOf('IE') != -1)) { echo 'Is IE'; }else{ echo 'Not IE' } ?> PHP: Would That Work?, I can't test as i use ubuntu not windows
That's js or looks like it?, with PHP you'd do something along the lines of: <?php if (preg_match('~MSIE.+?Windows~i', $_SERVER['HTTP_USER_AGENT'])) { echo 'Is IE'; } else { echo 'Not IE'; } ?> PHP: