Suggestion: Use Apache's "AddHandler" functionality so that all ".phpniggles" files are "handled" by your own PHP script. That script can then make sure that the header and footer are spit out appropriately instead of you having to put them at the very beginning and very end of every file, etc.Originally Posted by niggles
VERY useful if anybody besides you might edit the file and accidentally drop an include(), put content outside the middle, etc.




Reply With Quote