title: Block IE and Opera using PHP
body: <p>I want to redirect user to a selected page if they use Any Version of IE or Opera. Because my website is using CSS 3 fully with different effects (animation effects) which are not supported by IE and Opera yet. 
  I want to do it using PHP. Should the code bellow work?</p>
  
  <pre><code>if(preg_match('/MSIE/i',$u_agent) || preg_match('/Opera/i',$u_agent)) 
  { 
      header("Location: http://www.example.com/reject.html");
  }
  </code></pre>
  
  <p>Or suggest me a better way please...</p>