<?php
	$useragent = $_SERVER['HTTP_USER_AGENT'];

    
if( eregi("(msie) ([6]{1})",$useragent) )
{print "IE 8.0 -> do something";}

else
{ }  
?>