Thank you both for your very informative replies, I think that I have the rite direction here but what I actually want is a message to display for all browsers that I haven't checked the site with personally.For example I have IE7, Firefox 2.0, that I check the site with, more as I look further into the top browsers used by Internet Surfers. Now these I know present the site as I have designed it to look but the other unknows I don't know if the layout is presented as I intend it to be, not only the png rendering but all aspects of design. For these unknows I want the message to display just under the header.looking into my browscap.ini I see no reference to IE7 but I think I can get the browsers info with...
<?phpecho $_SERVER['HTTP_USER_AGENT'] . "\n\n";$browser = get_browser(null, true);print_r($browser);?>
and use the example that "www.mihalism.com" posted for example...
<?php$browser = get_browser(null, true);if($browser['browser'] == "IE" && $browser['version'] == "7.0"){echo "Supported Browser";}elseif($browser['browser'] == "Firefox" && $browser['version'] == "2.0"){echo "Supported Browser";}else{echo "Unchecked Browser";}?>
However values for IE7 aren't showing correctly for my code to work, I believe this is due to the browscap.ini not having a value for IE7 and firefox specific 2.0?But when I check this with firefox "Supported Browser" is returned and when viewed with Amaya "Unchecked Browser" is returned, and IE returns "Unchecked Browser".Any further advice on the IE7 detection?Thanks again for you help!