I have just made several ssi text files however, i have now decided that rather than including these files using SSI into a .shtml page i would prefer to include the html contained within these files using an include into a PHP page.
This is what i am using for the SSI..
I beleive this take the SSI file numbered for each day of the week and inserts it into tmy .shtml page depending on the actual day however...PHP Code:<!--#config timefmt="%w"-->
<!--#include virtual="/ssi/directoy/4/$DATE_LOCAL.txt"-->
Im stumped as to what i can use as an include for php to make the same thing happan.. does anyone have the code i need to use to do this handy?
As it stands i have a dir structure like this...
/ssi/directory/1/
/ssi/directory/2/
/ssi/directory/3/
/ssi/directory/4/
As i want to incude 4 different files into the same page each day in different locations.
Any help you guys can give will be appreciated.
Regards,
Lee


Reply With Quote


Bookmarks