Hello,
I have been editing a basic HTML site for some time now and am now trying to add some PHP.
In my HTML page I have a line similar to this one:
<!--#include virtual="/myfile.php" -->
Thinking that when the interpreter gets to this line, it will invoke the PHP code contained in myfile.php which is sitting on the server.
However, I don't think that this is happening. My PHP script isn't mine - it is one which I have downloaded from a website. (Want to make sure I know the mechanisms for getting a correct script to work before I go into programming myself). Do I have to set up any directives to enable the ZEN servers to parse my HTML files? I have played about with the .htaccess file but draws a blank.
I have also tried creating a file carrying the "Hello World" PHP script found on this forum with the same result.
Any help on how to get started will be very gratefully received.
Thank you,
Alan