webgirl
12-11-2004, 03:29 AM
I just converted my sire from php includes to SSI but the SSI don't work. See @ http://sugar-sparks.org/sylvia/index2.shtml it says "[an error occurred while processing this directive]" where the include should be. Is there a way I can fix this?
starlet
12-11-2004, 03:38 AM
either
1. your host does not support SSI
or
2. you are using this code <!--#include file="yourfilename.txt" -->
but should be using this <!--#include virtual="yourfilename.txt" -->
just to ask... why move in a backwards direction? PHP can use "includes" which is the same effect as an SSI command. then PHP can take everything to a step beyond what SSI is limited to.
webgirl
12-11-2004, 06:07 PM
just to ask... why move in a backwards direction? PHP can use "includes" which is the same effect as an SSI command. then PHP can take everything to a step beyond what SSI is limited to.
Because someone on a different site said I had no php in my page (even though I used php inculdes) & too change it to .html but I desided to change it to .shtml so I could still have includes.
starlet
12-11-2004, 06:28 PM
It doesnt matter if you have PHP on the page or not, if you use PHP includes then at some point in the future if/when you want some PHP pn your page you can have it. With SSI thats all it doesn, includes the html...you cant take it further like you can with PHP. It definatly made more sense to have PHP includes than SSI i'm afraid!