Tag Archives: php get browser capabilities

PHP Tutorial : Get Browser Name & It’s Capabilities

To get browser name just use next thing : <?php print $_SERVER['HTTP_USER_AGENT']; ?> And for all the features of browser user : <?php print_r(get_browser(null, true));//null for user agent &amp; true to return array ?>

Posted in Usefull PHP | Tagged , , , , , , , | Leave a comment