Log in

View Full Version : reduce redundency



spyder
07-07-2009, 06:14 AM
i am making a website, and every page has teh same header and footer code. is there a way to have this code in a separate file and have it "added" to each website? i ran across the idea of server side includes, but everything is offline, so would this even work? thank you very much for your help

hyde360
07-07-2009, 06:29 PM
No it won't work, it has to be online for the server-side includes to grab the content/code... If you're doing tests on the offline website, then do your tests then put it online and then do the server-side includes :)

spyder
07-08-2009, 10:02 PM
is there something else i can use that works off or online. it seems like it would be a common need for websites. thank you for the response