I Am trying to make a php program open a text file and read the contents. what i need to do is change the filename but keep the .txt extension.
$Task = $_POST['Task'];
$Breifing = file_get_contents("T001.txt");
So in the above example i would like to make T001 change depending on what the contents of $Task is.
I have Tried This line:
%Breifing = file_get_contents(%Task,".Txt");
And that didnt work.
Any Help would be Greatly Appreciated.