Skip to content

Parses a user agent string to detect Internet Explorer

License

Notifications You must be signed in to change notification settings

webignition/php-ie-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-ie-detector

Parses a user agent string to detect Internet Explorer.

A bare-bones minimal way of detecting IE6, IE7 or IE8.

Usage

<?php

use webignition\IEDetector\IEDetector;

$ie6UserAgent = 'Mozilla/4.0 (MSIE 6.0; Windows NT 5.0)';

if (UserAgentDetector::isIE6()) {
    // ...
}

About

Parses a user agent string to detect Internet Explorer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages