Forum Moderators: phranque
Ideally I'd like to have a php header file process before every page.
To make matters more complicated I also am processing html files as php with
AddType application/x-httpd-php .htm .html
AddHandler x-httpd-php .htm .html
Anyway to do this?
php_value auto_prepend_file somefile.php
It wouldn't really be a recommended approach for simple header/footer style includes though.
1.) Download the current site.
2.) Do a site-wide find & replace.
Find: <!DOCTYPE
Replace: <?php include "blah"; ?><!DOCTYPE
3.) Upload the site and a new version of the template with the include on it.