dezkit Posted May 28, 2008 Share Posted May 28, 2008 <?php $browser = $_SERVER['lolwut']; if($browser == IE){ header('Location: http://www.internetexplorersucksandyouguyshavetoswitchtomozzilafirefox.com/'); } else { header('Location: http://www.example.com/'); } ?> OK? so what should i replace with IE and lolwut Quote Link to comment Share on other sites More sharing options...
dezkit Posted May 28, 2008 Author Share Posted May 28, 2008 nVm <? if ($name = strstr ($HTTP_USER_AGENT, "MSIE")) { Header ("Location: http://www.msn.com/"); } else { Header ("Location: http://www.google.com/"); } ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.