That's a pretty trick solution. I dig how you hack stuff together. I'm just curious, does [somepage].html with "footer.html" inserted into the bottom of it now have an "</html>" tag followed by more html markup?
Yea, yea, yea, I know it really doesn't matter in the end, but was just curious. On a side note, since you're the fire bear, can you get rid of the snow in colorado for me?
Quote:
Originally Posted by SmokeyTheBear
save this as htaccess
Code:
AddHandler headered .htm
AddHandler headered .html
Action headered http://yoursite.com/wrap/wrap.php
then save this as wrap.php
Code:
<?php
$footer = "footer.html";
$file = $_SERVER["PATH_TRANSLATED"];
readfile($file);
readfile($footer);
?>
then place whatever html you want added to every html file in a file called footer.html
|