I am upgrading from php 5.5 and this worked, but not sure what I can use now to detect the google chrome browser?
function is_chrome()
{
return(eregi("chrome", $_SERVER['HTTP_USER_AGENT']));
}
if(is_chrome())
{
$chrome = 'You are using Google Chrome Browser.';
} else{
$chrome = 'hide';
}