Ok, so I have a php file in the Code folder, it has a corresponding template etc..
from the php file I want to open and read a text file.
as in
$file = 'filename.txt';
$data = file($file) or die("Failed");
it can't seem to find the text file
help please!!!