Book 5 Chapter 7
PHP Files
- fileWrite.php
source
Writing a comma-separated file
This example expects a data connection to work
See book 6 on databases for more information
- fileRead.php
source
Reading a comma-separated file
This example expects a data connection to work
See book 6 on databases for more information
- fileList.php
source
Working with files and directories
This example may cause a warning on strict servers,
but it will not cause any problems.
Note I changed the directory pointer to (.) in the code
so it will work on any server.
Data Files
- employees.csv
Guestbook file created by fileWrite.
Can be read by spreadsheets
SQL Files