View Single Post
Old 2004-06-28, 10:12 AM   #1
AcidMaX
Programming till my fingers bleed.
 
AcidMaX's Avatar
 
Join Date: Aug 2003
Location: Michigan
Posts: 876
There are many ways to do it.

If you are using php (ie., php extensions or html is configured to be parse by php) you could use the following in an htaccess.

php_value auto_prepend_file "/path/to/header.php";
php_value auto_append_file "/path/to/footer.php";

That will put those files at the top and bottom of each php file or any file configured to be parsed by php.

If you are looking for other ways, SSI might be an option for you otherwise you would need some scripting experience or one of the apache modules these other fine folks talked about.

Andy
AcidMaX is offline   Reply With Quote