Use file_get_contents() to Read a File into a String

Use file_get_contents() to Read a File into a String

The file_get_contents() function reads an entire file into a string. This is useful for reading file contents.

← Back to Tips List