OK so I know how to read form a file and get everything from inside the file, but now how would I use the variables from inside the file?
ex.. I have this script...
<?
$vf= "vars.php";
$gvf = fopen($vf, 'r') or die("Cant read from file");
$gv = fread($gvf, filesize($vf));
fclose($gvf);
?>
Ok, so vars.php is in $gv as a string.. but now how do I pull variables out of that string?
Like if the file vars.php had $variable = 123 in it, how would I be able to use $variable?