advanced code snippet search
mzym on 09/22/09
php browser ie6
09/22/09 10:06am
1 person have marked this snippet as a favorite
leaase
$browser = $_SERVER['HTTP_USER_AGENT']; if(stristr($browser, "MSIE 6.0") || stristr($browser, "MSIE 5.5") || stristr($browser, "MSIE 5.0")){ echo"<script language=\"JavaScript\"> function reDirect() { self.location.href = \"/old.html\"; } reDirect(); </script>";}
Report this snippet Tweet
Comment:
You need to login to post a comment.