title: Detect mobile browser
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4117555/simplest-way-to-detect-a-mobile-device">Simplest way to detect a mobile device</a>  </p>
  </blockquote>
  
  
  
  <p>I have a site and I want to detect which browser is used and redirect them.
  I have a php index and the code must be in php.
  I've found many sites but they don't work or they don't detect many mobile browsers.
  Do you know of any good code or tutorials that can detect many mobile browsers?</p>