. Updated Daily. Editions SDA India   SDA Indonesia
JAX Asia 2008 - Conference for Enterprise Java, SOA, Spring, Web Services, Ajax, Agile and more
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

Monday, 22 January 2007

Write Server-Side Browser Detection Code in PHP

 

 

The phpguru web site has offered up a script to set up browser detection code in PHP. Though this code works on the server side, it closely follows the Ultimate Javascript Client Side Detector.

The writer says the code is simple and hence, it does not pollute the namespace much.

All you need to do is include the code and call the function like so:



The code currently works with browsers, such as IE versions 4 and up, Firefox 1 and 2, Navigator version 2 and up and Opera versions 5 and up.

 

Download the Script

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2008 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use