welly68
Oct 9 2009, 06:08 PM
noob question here, hope you dont mind!
i'm including a footer.html. Can it include another include file?
any issues with that? is it considered bad form? How deep can include files be nested? Is it only a question of what can the server handle?
Basically i'd like my footer to include some scripts (like a 'last updated' script, which it calls as an SSI file).
thanks!!!
Darin McGrew
Oct 9 2009, 06:44 PM
How are you including footer.html?
The file-inclusion mechanisms I've used have generally allowed an included file to include some other file. There's nothing wrong with that, as long as your system can handle the load, and you don't confuse yourself (or others working on the site).
pandy
Oct 9 2009, 07:07 PM
Just remember that the first included file must also be parsed for SSI.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.