|
Posted by David Dorward on 12/09/05 21:13
Greg N. wrote:
> For SSI, you need to change the file type from HTML to SHTML, and you
> need to use a 1-line include statement.
No, you don't.
A common way to tell the server to scan a file for SSI directives is by
giving it a .shtml file extension, but there are other ways.
> For PHP, you need to change the file type from HTML to PHP, and you need
> to use a 1-line include statement.
>
> Why should one of the two be easier than the other?
Well, PHP will break if you have short tags turned on and use an XML
declaration (... not that Appendix C says that is a good idea).
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|