Hour 21. Working with the Server Environment

What You’ll Learn in This Hour:

  • How to pipe data to and from external applications

  • Other ways of sending shell commands and displaying the results on the browser

  • The security implications of interprocess communication from a PHP script

In previous hours, we have looked at techniques for communicating with remote machines and gaining input from the user. In this hour, we look outward again, this time at some techniques for running external programs on your own machine. The examples in this hour are designed for Unix operating systems, but most of the principles hold true for Windows.

Get Sams Teach Yourself PHP in 24 Hours, 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.