O'Reilly logo

PHP for the Web: Visual QuickStart Guide, Fourth Edition by Larry Ullman

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

11. Files and Directories

Taking your Web applications to the next level requires a method of storing and retrieving data. You have two primary options in PHP: using files (and directories) or databases. This chapter will discuss the former, and the next chapter will introduce the latter. It’s worth your time to learn both methods: Although a database can be more powerful and secure than a file-based system, you may be surprised at what’s possible by writing and reading simple text documents on the server.

In this ...

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