picture picture
October 25, 2011 PHP 0 Comments

Browser Detection script in PHP

Browser Detection script in PHP

PHP code to detect browser name/version.

[code type=php]
$useragent = $_SERVER [‘HTTP_USER_AGENT’];
echo “Your User Agent is: ” . $useragent;
?>
[/code]