i have made a site but only want users using firefox, ie and opera to be able to view it if they dont have it then they get redirected to another page
can any body helps me out with this
i have some thing but it doesnt work well
but when i use fire fox it still says firefox errorPHP Code:<?
if (eregi("firefox",$_SERVER['HTTP_USER_AGENT'])){
echo "firefox";
}
if (eregi("ie",$_SERVER['HTTP_USER_AGENT'])){
echo "ie";
}
if (eregi("opera",$_SERVER['HTTP_USER_AGENT'])){
echo "opera";
}
else {
echo "error";
}
?>
but its not supost to say error


LinkBack URL
About LinkBacks

Reply With Quote



