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 http://pear.php.net (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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.