Browser Detection

<?php

    $userAgent = $_SERVER ['HTTP_USER_AGENT'];
    echo "Your User Agent is: " . $userAgent;
?>

Do you find this helpful?

Related articles