O'Reilly logo

Core PHP Programming: Using PHP to Build Dynamic Web Sites by Leon Atkinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. I/O FUNCTIONS

Topics in This Chapter

  • Sending Text to the Browser

  • Output Buffering

  • Files

  • Compressed Files

  • POSIX

  • Debugging

  • Session Handling

  • Shell Commands

  • HTTP Headers

  • Network I/O

  • FTP

No useful program can be useful in a vacuum. The functions described in this chapter are concerned with I/O (Input and Output), whether it's to the browser, files, or across a network. Some of them perform very specialized duties such as manipulating files. Others are simply for debugging or reporting information about the environment.

If you are experienced in traditional application development, you may be challenged by the unique characteristics of a stateless operating environment. Your script can't sit in a loop and get input from the user until the quit button ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required