Title: using files ($$$)
Course: PHP/MySQL Course

include()

Read pages 239 to the top box of page 244 all about include and require.

Question which function to include php code will make sure it is only included one time?

- include_once\s*(\(\s*\))*\s*(;)*

validating files

Read how to get infomation about the file system and files starting on page 244 to 248.

Question:
What function will return the last time a file was modified?

- filemtime\s*(\(\s*\))*\s*(;)*

Working with files

Read Creating and Deleting Files on page 248
Read about Opening a File for reading and writing on page 249 to 256.

Note:

Question:
Which function is used to read an entire line from a file into one string?

- fgets\s*(\(\s*\))*\s*(;)*