/ Published in: PHP
Helps to find out browser version and type your website visitor is using.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $useragent = $_SERVER['HTTP_USER_AGENT']; echo "<b>Your User Agent is</b>: ".$useragent; ?>
URL: http://www.apphp.com/index.php?snippet=php-detect-browser