Browser Detector...
Easy tutorial to find out if your user is using FireFox or Internet Explorer.
Code
<?php
$browser = $_SERVER['HTTP_USER_AGENT']; //gets the browser
if($browser == 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3') {
echo "Mozilla FireFox";
}
if($browser == 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)') {
echo "Internet Explorer";
}
?>
Simple enough, you can add others if you which, but those are the two most used. I hope this comes in handy!