How to identify the browser in PHP

Bastian Allgeier has posted a great article on how to identify what browser is being used to view your website. The code is written in PHP and set the HTML class to the browser being used.

The implementation involves downloading the PHP code from Bastian’s website and adding two line of code to your PHP script. Then adding CSS accordingly.

Full Article

Tags: , , ,

Leave a Comment