I'm still not sure how to do this so I think it's time for an example.
Let's say I have a script that reads a file "test.txt"
<?
$name = "Saeed";
$file = fopen("test.txt", "r");
$reading = fread($file, 3000);
eval("$reading");
print (nl2br($reading));
fclose($file);
?>
and the test.txt file has one line which is my name is $name, my question is how do I get the script to replace "$name" variable with the value that it's set to.
Thanks in advance😃