Forum Moderators: open
Can we include the "php code" in ".html pages".
My query is I have 300 html pages, Now I want to change the header and Footer sections of my pages, will it be possible paste a "php code" in both the sections so that in future if I want to make any further changes it will be easy for me to modify from one location, which effects in all pages.
<!--#include virtual="example.php" -->
Your web server must be configured for SSI.
This eliminates the overhead of having all your html pages being processed by the php interpreter.