Hi,
When I use this code to read in the contents of another file:.....
$contents = (\"\$fp = fopen(\'/home/supracore/public_html/smac/test1/setupfile.php\', \'r\');
eval (\'\$fp = \\'$fp\\');
echo (\$fp)\");
.... the output on my browser comes out as:
$fp = fopen(\'/home/supracore/public_html/smac/test1/setupfile.php\', \'r\'); eval (\'$fp = \\'\\'); echo ($fp)
....instead of actually reading in an processing the file it is supposed to. Can anyone help? This is a problem that has plagued me for 3 days now.
Thanks in Advance
Steve