If browser is mozilla firefox site does not open?

how and which conditions i use if someone opening my site in mozilla firefox siite does not open
in think i can use the conditions in htacces and php but don’t know the exact ?

Try this:


if(isset($_SERVER['HTTP_USER_AGENT']))
{
    $agent = $_SERVER['HTTP_USER_AGENT'];
}

if(preg_match('/^Mozilla\\/.*?Gecko/i',$agent))
{
     die('this page does not available for Mozilla.');
}