Scripts — Browser & OS Detection — Javascript & PHP
Welcome to our PHP and Javascript browser detection script download area. We hope these scripts will be useful to you, especially given how problematic some CSS can be in terms of cross browser solutions and debugging.
Your Computer Box
Download: 'Your Computer' Box Script
Current Version: 1.3.4
File Last Modified: February 16, 2014. 18:02:39 pm
PHP Language Detection
Your Computer
Operating System:
Current Browser / UA:
HTML Support
JavaScript
PHP Browser Detection
All scripts have been thoroughly tested, although of course no script is ever perfect, so they will be modified as time goes by. There is a 'last modified by' date scripted in next to each download so you can see if it has changed from the version you have. If you find any bugs or detection failures, please post them in our web programming forum. If you do find something wrong with one, and we'll get it fixed.
Some of the Browser Detector Scripts also include OS detection, the PHP browser detector is much more complex than the Javascript browser detectors, and includes Unix, Linux, and Mac OS X, along with Windows NT and 9x detection.
[ the browser detector to your left is running off of the PHP browser detection script, which is far more
powerful than the javascript version, although both do their jobs well ]
Please Link to our Site
It would really help us out, and help other people find this information, if you could add a link to our site in exchange for these scripts. Thanks.
<a href = "http://techpatterns.com/downloads/php_browser_detection.php"> PHP Browser Detection</a>
The Navigator User Agent
User Agent List
All browser detector scripts use the browser Navigator Agent provided by the browser. If this is modified or missing, there is no way for anyone to detect what browser you are using. Fortunately, only geeks think it's cool to modify their navigator user agent strings. Most people, the overwhelming majority of your site's visitors, have no idea such a thing even exist, so you should in general be in good shape.
Navigator User Agent strings look like this, all browsers and spiders have some version of them. In this case the browser is Mozilla Firebird 0.7 running on Windows 2000 Operating system:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
This is your browser useragent string:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Manual Downloads
If you're in rush, you can grab the scripts here [ but we recommend that you check out the Javascript browser detector and PHP browser detector pages first for more information ]:
- Full Featured Javascript Browser detection
- Simple Javascript Browser detection
- PHP Browser detection (full featured)
- PHP Browser detection (simplified version of the above)
- PHP Browser detection (if conditional)
- 'Your Computer Information'
- PHP Language Detection