Using PEAR

PEAR, the PHP Extension and Application Repository, is a collection of established code that programmers can incorporate into their own projects. The official Web site for PEAR is (Figure 11.26).

Figure 11.26. The home page for PEAR.

Many things I have done (or will do) in this book could be done using PEAR, including:

  • Interacting with MySQL

  • Controlling page caching

  • Sending plain or HTML email

  • Performing HTTP authentication

  • Creating and validating HTML forms

There are many advantages to using PEAR. First of all, you can more quickly develop applications. Second, your Web sites will then be relying ...

Get PHP and MySQL for Dynamic Web Sites: Visual Quickpro Guide, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.