I am testing this code but "hello" gets shown in every browser. Normally it should only show up in MSIE.
Did I forgot something?
$usragent = $_SERVER['HTTP_USER_AGENT'];
echo $usragent;
if(
((strlen(strstr($usragent,"Firefox")) <= 0)) ||
((strlen(strstr($usragent,"Chrome")) <= 0)) ||
((strlen(strstr($usragent,"Safari")) <= 0))
)
{
echo "hello";
}