View Single Post
Old 12-20-2006, 06:49 PM  
scottybuzz
Too lazy to set a custom title
 
scottybuzz's Avatar
 
Industry Role:
Join Date: May 2006
Location: NY
Posts: 14,800
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


thankyou thankyou very much, indeed a true help.
p.s. i like the way this has been done using ht.access
scottybuzz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote