I was just wondering if it's possible to set variable to the output of include file.
The included file needs to be parsed.
echo "<PRE>";
$reading = require("templates/800temp-confg");
echo "</PRE>";}
//Write the config to a new file
$writefile = fopen($refname, w);
fwrite($writefile, $reading);
fclose($writefile);
The above script only writes 1 to the file instead of parsing the
included file and then writing the output to a new file