Date / Time

 

Ads

News by month

News Categories

Link to us

Link to us

Ads

Subscribe

Search Promotion Data

Ads

News by month 2018

Latest News

Ads

Ads

Simple Server Side Includes

on 14 Jun  Posted by Admin  Category: Internet Related  

By Scottie Claiborne © 2004
http://www.successful-sites.com

Anyone who's ever had to change a multitude of static pages on a site knows what a pain it is to find and change the same snippets of code on one page after another- even using an HTML editor's find-and-replace function can be cumbersome since you have to upload all of the pages to the server again with the new code. Sometimes a page or two will get missed or the find-and-replace function replaces some things you didn't intend to change, so it requires some quality-checking time to run through all the pages and make sure the changes are there.

An easier way to manage pages in your site is by replacing chunks of repeating code, such as your navigation links, with server side include (SSI) files. Instead of repeating the same code over and over, you create a separate file with just that chunk of repeated code in it, then place a line of code on each page that tells the server to insert the contents of a separate file into that spot on the page.

News Categories

Ads

All logos and trademarks in this site are property of their respective owner.

© 2001-18 PromotionData.com
A division of The Promotion Group network of sites.    Back to top ↑
e107 Theme by veskoto