Problem with file
Posted on 2002-04-13
I have the following code that opens a file, the file is a php script file.
$contentFile="./" . $name . "/" . $filename;
name is a string that holds the taget dir name
fielname is a string that holds the name of the file to open and use.
the file in the test situation is called tes1.php and the contents of the file are as follows:
the test is comming
echo "hello just testing";
the test has run
$page_content is then echoed out to the screen at a later time. The problem i have is that the servere is not parsing the content of the php file that is being loaded, how do i do this thanks.