Is it possible to prepend a header file (for example header.php) to any request (for example page.html) without URL Rewriting | redirecting URLs with Apache's mod_rewrite | Running as PHP.
Asked
Active
Viewed 173 times
1 Answers
0
Yes, you can achieve this by setting auto_prepend_file
option in the php.ini
(PHP configuration). This will only work when other PHP files are requested.

hjpotter92
- 78,589
- 36
- 144
- 183