A simple way is to put your footer in what is called an include file. This can have pretty much any extension. Activate php on your server if you need to, and use this command where you want the footer to appear: <? require("nameoffooter.php"); ?> Alternatively, you could use SSI, which is more complicated and less functional... Basically, the server will print whatever text is in the file before it is transmitted to the user.
My footer is just an html document with my links and copyright info. I use a client side include to include since my host said all our server side includes were hogging the resources and shut us down. Shannon
THEY CAN DO THAT? EDIT: Just noticed your links. I didn't think moving a few kilobytes around every few seconds was such a strain....I didn't know that web hosts could do that, especially with sites that do so much with php and ssi out there doing so with impunity.
The site that got closed down was not on a free host but it is not an expensive one either. It has a lot going for it in comparision to a more expensive host I was using. As you noted I have sites running on my ISP but we have a reseller package with another host. Shannon
I am using FrontPage to handle the include. If you have FrontPage, after making header, footer, or menu you want to include, go to insert, Web Component, Include Content, Page, and browse directory to find file you want included. The following code is inserted into the page on which you are editing at the point of insertion: <!--webbot bot="Include" U-Include="footer.htm" TAG="BODY" --> In my mind either SSI (Server Side Includes) or CSI (client side includes) is the only way to go when designing a site. Experience is a good teacher. After having to change the header on an 150 page site twice due to change in phone number and change in area code, I was ready to look into includes. Dreamweaver has a similar feature available to the one used in FrontPage. If you are a coder you can write a little program to do the include for you. Shannon
Hmm, I once heard a guy at the dealership telling a customer that their blinker fluid is leaking... This kinda sounds the same. Webbots are MS' server-side components that actually chew up more CPU power than regular SSI directives. It is much simpler and more efficient to use plain SSI: <!-- #include virtual="filename.inc" --> <!-- #include file="filename.inc" --> If you use these, you can use Notepad to edit your pages. Webbots require FrontPage, which is notorious for reformatting and mangling HTML to the point where it becomes uneditable by hand. J.D.
I've always strayed away from FP. It's frustrating in the beginning, but I'm sure it pays off by the time you get used to doing everything by hand.
FP extensions/MS eats up a lot of resources, I am sure its not the same with SSI or PHP includes...!!
I don't know if that's a valid comparison. If I understand it right, FP makes the code inefficient, wasteful, larger, and hard to understand. PHP and SSI just require extra processing time on the server. They use up different resources for different reasons.
As a side note - notepad bites for html, i recommed edit plus. it's not a WYSIWYG, rather just a text editor but with some neat features like color coding tags, etc.
have you tried HAPedit? Do a G search. It kicks so much ass for a freeware product, to put it bluntly. That's what I use these days.
thanks, i'll check it out. edit plus is free too btw i'm always looking for better tools for me to do the limited stuff i know how to do