php how to retrieve all of a text file at once code example Example: turn text file to string php $fileContent = file_get_contents($url);