Glen
09-04-2007, 11:59 AM
When i first started my company site i never used php includes and used to have to change over 50 pages if i wanted to add a new site-wide link in my footer.
I then moved on to a couple, now on my new design I'm up to 5 php includes on every page. This basically just allows me to update all areas of the site (not the specific page content) just by updating 1 file.
Do people think there are any issues using a lot of includes or do you think its a good idea? And do you use them yourself?
P.S. Im talking about this:
<?php include("http://www.domain.com/includes/footer.php") ?>
I then moved on to a couple, now on my new design I'm up to 5 php includes on every page. This basically just allows me to update all areas of the site (not the specific page content) just by updating 1 file.
Do people think there are any issues using a lot of includes or do you think its a good idea? And do you use them yourself?
P.S. Im talking about this:
<?php include("http://www.domain.com/includes/footer.php") ?>