TheFilmGod Posted February 2, 2007 Share Posted February 2, 2007 Hey! Is it a good idea to use a php include to a file where it has all the head material, such as the favicon and meta keywords. Since it takes forever to change everything on every single page, or add new things in. What do you think? Quote Link to comment Share on other sites More sharing options...
SharkBait Posted February 2, 2007 Share Posted February 2, 2007 I have my pages in a sorta 3 sections. 1 page is my header.html (keywords, meta data, etc) then my body or content pages (index.php or whatever other file) and then my footer.html that cleans up all the div tags and closes various connections etc. and then in my index.php I just require the header.html and the footer.html. Hope this is what you mean. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.