Write a simple PHP browser detection script

Introduction

PHP is a server scripting language, and It is a powerful tool for making interactive and dynamic Web-pages. I have used WampServer 2.2 for following excercise..

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

Result

Write a simple PHP browser detection script
Write a simple PHP browser detection script

Leave a Comment