10. PHP and the Server

Most of the chapters in this book focus on creating dynamic Web sites with PHP, which is, after all, the original intention of the language. Chapter 9, “Networking with PHP,” approaches some behind-the-scenes features of the language, specifically toward the goal of communicating between servers. Continuing along this vein, there’s plenty to discuss when it comes to PHP interacting with, or just how it runs on, the server itself.

A lot of very standard PHP actions, such as communicating with databases and sending emails, actually occur between applications on the server and PHP. As PHP is increasingly used for advanced purposes and not simply to generate Web content, its ability to manipulate and use the features the server ...

Get PHP 5 Advanced: Visual QuickPro Guide 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.