PHP includes built-in functions to work with the filing system. This includes functions to read directories and to read and write files. Although typically these files are text files, PHP can work with any binary file. Some binary files, such as image files, can be manipulated by other PHP functions, while others will need additional coding or libraries of code.
Processing text files can be very useful if you have configuration data which you want to use, but need to keep in a simple format for maintenance. Text files can ...