Chapter 12. Working with the Server Environment

PHP, Apache, and MySQL are not the only applications on your machine. In this chapter, you'll learn some techniques for running some of those programs from within your PHP scripts. While the examples in this chapter are best suited for Linux/Unix users, the same principles hold true for Windows users.

In this chapter, you'll learn

  • How to pipe data to and from external applications

  • How to send shell commands and display results in the browser

Get Sams Teach Yourself PHP, MySQL® and Apache All in One 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.