Core Web Application Development with PHP and MySQL

Chapter 24. Files and Directories

Previous chapters covered many of the core technologies you will use when writing web applications. Although a good percentage of your data storage will be done with databases, at some point you will need to work with regular files on the local file systems of your server. This chapter examines how you can do so in PHP.

Over the course of this chapter, we will cover

  • Reading and writing of regular disk files and how to change their permissions and delete them

  • Accessing of directories, including how to manipulate paths

  • Important security considerations when working with files

Категории