[thelist] PHP Equivalent

Simon Willison simon at incutio.com
Mon Apr 1 13:14:01 CST 2002


Burhan Khalid wrote:

> If I can't get PHP
> to work as expected, I'll just switch over that part of code to
> Javascript
> (and hence, anything else that is dependent on browser detection).

Just out of interest, what do you need the detection routines for? If
it's for DHTML type stuff I read an excellent article today arguing that
DHTML detection should always be done based on objects rather than the
browser string (which can be faked). Article here:

http://www.xs4all.nl/~ppk/js/support.html




More information about the thelist mailing list