11. PHP and the Server

A lot of the standard PHP actions, such as communicating with databases and sending emails, actually occur between applications on the server and PHP (as opposed to between the server and the client). 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 has to offer becomes more important.

This chapter will show you how to better take advantage of the other services and libraries that your server may have. Starting off is a demonstration of how to compress files using PHP. The second topic shows how to automatically run your PHP scripts using ...

Get PHP Advanced and Object-Oriented Programming: Visual Quickpro Guide, Third 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.