View Single Post
Old April 7th, 2008, 07:30 AM   #6 (permalink)
Andreas Rosland (Online)
New Member
 
Andreas Rosland's Avatar
 

Join Date: Nov 2006
Location: Norway, Bergen
Posts: 76
Andreas Rosland is a jewel in the roughAndreas Rosland is a jewel in the roughAndreas Rosland is a jewel in the rough

Quote: (Originally Posted by aleksi)View Post
I have many times been tempted to put a script totally blocking IE and telling to use something else on pages I built

-Aleksi
PHP Code:
<?php
   
if (eregi("MSIE",getenv("HTTP_USER_AGENT")) ||
       
eregi("Internet Explorer",getenv("HTTP_USER_AGENT"))) {
    
Header("Location: http://www.mydomain.com/reject.html");
    exit;
   }
?>
__________________
I can resist anything but temptation
 
Digg this Post!Add Post to del.icio.us
Reply With Quote