title: Which is best for browser detection: PHP or Javascript?
body: <p>What I want to do is simple: during signin process, if system detects that someone else signed with same credentials, to notify user about ip addresses and browsers that currently signed in. That's why want to use PHP or Javascript to record browser name into database during signin. Do you know any good script for this purpose?</p>
  
  <p>Please give link or post code.</p>