Gathering information with $_SERVER['HTTP_USER_AGENT']:
This can be useful to programmers if they are using special features that may not work for everyone, or if they want to get an idea of their target audience. This also is important when using the get_browser() function for finding out more information about the browser's capabilities. By having this information the user can be directed to a version of your site best suited to their browser.
<?php echo $_SERVER['HTTP_USER_AGENT']; ?>