I've just tried... but failed
<!--#include virtural="abc.php"--> <!--#include file="abc.php"--> Use above will shows the source of abc.php
<!--#exec cgi="abc.php"--> No use...
What should I do?
(Running on W2k Pro+SP1 with IIS 5.0)
Why would you stillwant to use SSI when you have PHP?
Really. =)
I have some HTML files in my website, but I don't want to rename them and modify the hyperlinks. However, I want to add some php script to each page to create interaction and for ease of maintenance therefore I would like to use SSI to include the code for each page. Of course, I may use my editor to find and replace the URL of the hyperlinks, I just want an alternate method other than that.
Did you try something like this (not sure it works) :
<!--#exec cgi="c:\php\php.exe -q abc.php"-->
Did you ever solve the problem? I also want to do that...
/j