Results 1 to 6 of 6
Thread: Include, Virtual or Passthrough
Jan 26, 2001, 10:59 #1
- Join Date
- Oct 2000
- 0 Post(s)
- 0 Thread(s)
I was wondering if anyone could clarify which of the Include, virtual and passthrough function to use for certain situations.
I have 3 situations where I which to perform SSI type functions:
1/. to include plain html or txt files which require no further processing.
2/. to include php files with the php code embeded within the html.
3/. to include files which are first passed through a perl script (currently done by <!--#include virtual="/cgi-bin/apexec.pl?template=humour/index.htm" -->)
I guess the best method for situation 1 is use passthrough, but I would be grateful if someone knowledgable could set me straight.
I would also be interested to know if their are any caviats with any of these methods.
Cheers in advance.