useragent.php is an OOP library to get information about user agent strings.