Posted By

apphp-snippets on 02/12/13


Tagged

get php browser


Versions (?)

Detect Browser with PHP


 / Published in: PHP
 

URL: http://www.apphp.com/index.php?snippet=php-detect-browser

Helps to find out browser version and type your website visitor is using.

  1. <?php
  2. $useragent = $_SERVER['HTTP_USER_AGENT'];
  3. echo "<b>Your User Agent is</b>: ".$useragent;
  4. ?>

Report this snippet  

You need to login to post a comment.