View Single Post
Old 12-20-2006, 06:55 PM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
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 View Post
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
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote