O'Reilly logo

PHP and MySQL by Example by Marko Gargenta, Ellie Quigley

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 11Files and Directories

Image

11.1 Files

After the browser sends data to the server and PHP processes the information, a database management system such as MySQL or Oracle will normally store or retrieve the data. But PHP might also exchange data from simple text files (also called flat files), such as HTML templates, spreadsheet (csv) data, the contents of remote Web pages, or files that contain text that does not need to be stored in a database. This chapter focuses on creating directories and text files for storing and retrieving data, whereas Chapter 13, “Introduction to MySQL,” introduces to the power of using a relational database ...

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