title: get_browser() function is echoing "default browser"
body: <p>I want to write code that detects user's browser and echoes the name of the browser out.</p>
  
  <pre><code>$agent = $_SERVER['HTTP_USER_AGENT'];
  echo 'your browser is '.$agent.'&lt;br&gt;&lt;br&gt;&lt;hr&gt;';
  $browser = get_browser(null,true);
  print_r($browser);
  echo '&lt;br&gt;';
  $browser = $browser['browser'];
  echo $browser;
  </code></pre>
  
  <p>but I keep getting "default browser" instead of the real browser's name like chrome,IE,etc.</p>