Getting PHP’s get_browser() function to work on your site
written by Daniel Angel for the Development section
⇒31 Jul 2009
OK, this one’s a bit more technical than usual!
On a previous post, I discussed how you could use PHP’s get_browser() function to detect your users’ browser information. You may need to do this for a number of reasons: fixing small CSS details (for instance, positioning <button> elements next to input fields and getting them to display correctly) and preventing your users from seeing stuff reserved for the googlebot† are some examples that come to mind. Read on!