Home Tutorial Php Examples PHP Get Browser Information


Share on Google+Share on Google+
PHP Get Browser Information
Posted on: October 9, 2009 at 12:00 AM
PHP Get Browser Information tutorial gives you an example to get your browser information

PHP Get Browser Info

PHP provides us  $_SERVER['HTTP_USER_AGENT'] function is used to display the browser information

Code for PHP Get Browser Info:


echo $_SERVER['HTTP_USER_AGENT'] . "\n\n";



Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv: Gecko/2009073022 Firefox/3.0.13


Related Tags for PHP Get Browser Information:

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 9, 2009

Recommend the tutorial

Advertisements Advertisements