in reply to Re: Short and Sweet Browser Detection
in thread Short and Sweet Browser Detection

The script wasn't meant to determine what to show to the user, based on HTTP_USER_AGENT. It was used to simply detect their UserAgent, and display what was detected to the user. All of my code is 100% cross-browser compatible and works with every browser without having to make per-browser tweaks.

Your point is still valid though, for others who may use that code to branch to different HTML output formats per browser.