I need to read some meta information from the downloaded file. But I do not know how to do this.
Here is my code:
$file = 'public://directory/filename.txt';
file_get_contents($file);
This code triggers this warning:
Warning: file_get_contents (): Could not find the public shell - did you forget to enable it when setting up PHP?
Any idea on what I'm doing wrong, please?
source
share