Back
Reading from a file
This script reads a file and outputs the content into a string.It uses the file_get_contents() function which automatically opens, reads and closes the file.There is a live example.
Download this script