Browser sniffing gone too far — A useragent parser library for PHP
...To do that you need a browser sniffing library. Almost all browsers say they are Netscape 5 and almost all WebKit browsers say they are based on Gecko. Even Internet Explorer 11 now no longer claims to be IE at all, but instead, an unnamed browser that is like Gecko. And it gets worse. That is why it is complicated.
A simple PHP file-manager/-browser (file-upload/select/delete ...), usable as plugin for TinyMCE or other wysiwyg's/application's, Including a cross-browser safe "Windows Explorer" style and free icons, for installation just upload a SINGLE php file.