Return to Snippet

Revision: 62269
at February 12, 2013 22:02 by apphp-snippets


Initial Code
<?php           
    $useragent = $_SERVER['HTTP_USER_AGENT'];
    echo "<b>Your User Agent is</b>: ".$useragent;
?>

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

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

Initial Title
Detect Browser with PHP

Initial Tags
php, browser

Initial Language
PHP