O'Reilly logo

PHP Advanced for the World Wide Web: Visual QuickPro Guide by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Browser Detection

The PHP programmer is almost spoiled when it comes to Web development because PHP is largely browser- and platform-independent. This means that the code you write functions similarly regardless of the operating system of the computer on which it is running or the Web browser that the client (the person/computer viewing the Web site) is using.

The same cannot be said for other aspects of Web development. HTML code will look slightly different from one browser to the next. Sec tions of JavaScript code will work or not work depending upon whether the page is being viewed with Internet Explorer 5 on a Macintosh or on Windows. And with the two major browsers being controlled by megacorporations less interested in supporting standards ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required