News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

Edin Kadribasic's Blog: PHP 4.4.6-win32 with MySQL 5.0.36

Edin Kadribasic's Blog: New Snapshot Capabilities

Pierre-Alain Joye's Blog: Zip 1.8.5, small bug fixes release

Symfony Blog: Symfony2 Components as standalone Packages

Kore Nordmann's Blog: PHPillow - a PHP CouchDB wrapper - Update


Community Events





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


framework refactor threedevsandamaybe series unittest code list configure podcast language release interview install laravel introduction opinion symfony2 testing community developer

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