View Full Version : Combining webpages?
02-24-2009, 05:13 PM
OK.. I'm just wondering.
If you have lots of pages in a website, is it possible to combine them, so that you just put in a small code (In thinking <link />?) for for example the menu, footer, etc. and then it puts in what is in that document in that tags place?
02-24-2009, 05:38 PM
I think what you're after is a Server-Side Include (http://www.w3schools.com/PHP/php_includes.asp) (SSI). There was a thread about this recently (http://codingforums.com/showthread.php?t=159513).
Quote from first link:
These two functions are used to create functions, headers, footers, or elements that can be reused on multiple pages.
This can save the developer a considerable amount of time. This means that you can create a standard header or menu file that you want all your web pages to include. When the header needs to be updated, you can only update this one include file, or when you add a new page to your site, you can simply change the menu file (instead of updating the links on all web pages).
02-24-2009, 06:24 PM
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.