well i've just found out how easy it is to use ssi's but i dont want to change the files to *.shtml, instead i'm planning on using the XBitHack so that i can contine using *.html.
but in the future i most posible would have plans to database the site with php/mysql. thats one of the reasons on using the XBitHack.
but would there be a problem? could include ssi in a *.php file? and if so, are there any security risks in having the *.php file executable??
In a .php file, there is a slightly shorter syntax for includes:
Code:
include("file");
I don't think having the php file executable would cause a problem but that shouldn't be neccesary - just replace all your includes with the syntax above.
Bookmarks