News Feed
Jobs Feed
Sections




News Archive
Richard Heyes' Blog:
Browser Detection
January 22, 2007 @ 14:45:38

Richard Heyes has posted a quick script to help you tailor your site to the browser a viewer is using.

If you ever wanted some browser detecion code, here it is. It works along the same lines as the Ultimate Javascript Client Side Detector, however it's server side. It doesn't pollute the global namespace (much), and it's very simple. Just include the code and call the function. Easy.

The code is as simple to use as an include and a call to the GetUserAgent function to get what you need. You can download the script here.

0 comments voice your opinion now!
browser detect include class simple download browser detect include class simple download


blog comments powered by Disqus

Similar Posts

Technobabbler.com: making a radar loop with PHP

Stefan Mischook's Blog: Database driven websites article: updated and now in PDF format.

Ilia Alshanetsky's Blog: PHP 5.2.1RC4 Released!

PHPImpact Blog: PHP Simple HTML DOM Parser (jQuery Style)

PHPKitchen: Advantages of using the PEAR class naming convention


Community Events











Don't see your event here?
Let us know!


example composer object development functional database community podcast code opinion zendframework2 series language release tool testing framework phpunit interview introduction

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework