Created
November 3, 2011 12:24
-
-
Save sn/1336372 to your computer and use it in GitHub Desktop.
Detecting Internet Explorer with PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$is_ie = (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') === false)? FALSE : TRUE; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment