You can check the browser version by using the PHP User Agent
if($_SERVER['HTTP_USER_AGENT'] == 'Firefox (or whatever)'){
echo 'Please update your browser.';
}
A better way to do it would be by checking the version of their browser. To do this, first, use get_browser:
$users_browser = get_browser(null, true);
Then, do the same thing as above, but use the version element:
if($users_browser[version] == 1.0.4){
echo 'Please update your browser.';
}
This would take some time, and testing, on your part, to find which browsers ad versions work. Then, you could double-check:
if($_SERVER['HTTP_USER_AGENT'] == 'Firefox'){
if($users_browser[version] <= 0.9){
echo 'Please update your browser.';
}
}
This would display the error to anyone using Firefox version 0.9 or earlier.
I hope this helps.