If a user is using a combination of Win98 & any version of MSIE, I
want to display a message.
The best that I can do is the following:
<?
if ((strstr (getenv('HTTP_U SER_AGENT'), 'MSIE')) && (strstr
(getenv('HTTP_U SER_AGENT'), '98')))
{
echo"blah,blah, blah\n";
}
?>
Is there a better (more foolproof) way?
Thanks!
want to display a message.
The best that I can do is the following:
<?
if ((strstr (getenv('HTTP_U SER_AGENT'), 'MSIE')) && (strstr
(getenv('HTTP_U SER_AGENT'), '98')))
{
echo"blah,blah, blah\n";
}
?>
Is there a better (more foolproof) way?
Thanks!
Comment