This is deffinately very usefull. I like the first example, it has both outputs and you can still limit by browser, for example:
PHP Code:
<?php
$browser = browser($_SERVER['HTTP_USER_AGENT']);
if($browser['name'] == 'Internet Explorer' || $browser['version'] == '4.0.0') { // Not sure if it would come out 4.0 or 4.0.0
die("We're sorry, currently this website does not support ".$browser['name'] . " " . $browser['version'] .". Please try back in a few weeks.");
}
?>