How to detect browser?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1895727/how-can-i-detect-the-browser-with-php-or-javascript">How can I detect the browser with PHP or JavaScript?</a>  </p>
</blockquote>



<p>I need to show different information in different browser ( Internet Explorer, Firefox, Chrome, Safari and Opera ). So I need a way to detect the user's browser.
What is the best way to do that in my case ?</p>

<p>I could use PHP or Javascript but I want to avoid to use external library like jQuery.</p>

<p>Thanks :)</p>
