dharmil
New Member
- Messages
- 1,656
- Reaction score
- 0
- Points
- 0
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 error
but its not supost to say error
can any body helps me out with this
i have some thing but it doesnt work well
PHP:
<?
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 when i use fire fox it still says firefox error
but its not supost to say error
Last edited: