Chapter 8. PHP and the Server
Most of the exercises in the first six chapters have taken advantage of PHP's capability to dynamically generate Web content. Chapter 7, Networking With PHP, added some more behind-the-scenes features of the language. Continuing along this vein, there are a plethora of possibilities when it comes to PHP interacting with 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. Of course, the most important server-side process is the relationship between the Web server application (Apache or IIS) and PHP itself. If you are using a CGI version of PHP, then PHP is simply an application that is called by the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access