Quote:
|
Originally Posted by RainMaker
I am using quite a bit of the 'ol copy and paste and not reinventing the wheel on EVERTHING, but what are "includes?"
|
Server Side Include (SSI): Data that is generated "on the fly" by the server for displaying on a web page. The data is stored in a text file, and pointed to by an "include" statement in the HTML programming. Commonly used for navigation menus. The text is "included" on the "server side" (versus the "client side," which is your computer).
I use "includes" for almost anything on a page that doesn't change. For instance;
- Doctype Declaration
- Charset
- Stylesheet
- Header
- Navigation
- Footer
- Copyright
This not only saves a bunch of cut and paste work but it also makes Global changes very easy. For a Global change you simply change the one "file" which is being called via "include" and your done.