How do I browser block code in php?
Asked By
10 points
N/A
Posted on - 01/31/2013
How do I block or restrict a particular browser from unregistered users?
<?php if (eregi("MSIE",getenv("HTTP_USER_AGENT")) || eregi("Internet Explorer",getenv("HTTP_USER_AGENT"))) { Header("Location: https://www.domain.com/ie_reject?; exit; } ?> Will this code work? How do I browser block cod in php scripting language?
Â