-7

Possible Duplicate:
PHP Browser Detection and Redirection

I just need the browser NAME (IE, Chrome, firefox, etc), nothing else (so user agent doesn't work). What's the PhP code to do this?

Community
  • 1
  • 1
Jon
  • 2,566
  • 6
  • 32
  • 52
  • Some more dupes: [this](http://stackoverflow.com/questions/7967008/determine-browsers-version), [this](http://stackoverflow.com/questions/1895727/how-can-i-detect-the-browser-with-php-or-javascript), [this](http://stackoverflow.com/questions/2257597/reliable-user-browser-detection-with-php), [this](http://stackoverflow.com/questions/2142030/any-php-code-to-detect-the-browser-with-version-and-operating-system), and [this](http://stackoverflow.com/questions/9209649/how-to-detect-if-browser-is-firefox-with-php?lq=1), to name a few possibilities – orourkek Aug 17 '12 at 19:17

1 Answers1

0

Use get_browser.

http://php.net/manual/en/function.get-browser.php

Michael
  • 3,334
  • 20
  • 27