A footer is used on many websites and in general is the same globally throughout the site. Now what happens when the footer needs to be changed? Well, by using an include fie for the footer this is a simple task.
Nuts Own Code

Asp Directory

Nuts Web Search
Web Directory
Web Search

Nuts ASP Code
Functions
Scripts
Tutorials
Wizards
Fonts
Download Fonts
Download Dll Files
Dll Files
Relaxing Games
Online Games
Take Our Poll
Do you use .Net?
Yes
No
Not Yet
Dot What?
Really, Take It!
Get The Source
About Nuts4Asp
Privacy
Contact Us
Arts
Movies, Television, Music
Business
Jobs, Industries, Investing
Computers
Internet, Software, Hardware
Games
Video Games, RPGs, Gambling
Health
Fitness, Medicine, Alternative
Home
Family, Consumers, Cooking
Kids and Teens
Arts, School Time, Teen Life
News
Media, Newspapers, Weather
Reference
Maps, Education, Libraries
Regional
US, Canada, UK, Europe
Science
Biology, Psychology, Physics
Sports
Baseball, Soccer, Basketball
World
Deutsch, Español, Français, Italiano, Japanese, Nederlands, Polska, Svenska
Help build the largest human-edited directory of the web
Let's take a look at the bottom of this page. You will notice that this is what it says:

Copyright © 2001-2002 Nuts4Asp.com
All other names used are property or copyright of their respective owners.

You will also notice there is a hyperlink for contacting us. Suppose the directory structure and subsequently the page this link points to is changed. With the use of an include file, all I have to do is change the one file and the footer on every page changes instantly.

Here's what to do. Create a directory for your include files named include. Now create a file named foot.htm and place the file in the include directory. open foot.htm and put the content that is normally found in the footer of your pages. Now replace that content of the footer on each page with this line:

<!-- #Include Virtual="include/foot.htm" --> 

Every time you need to make a change to the information in the footer, all you have to do is open foot.htm and a change that file. Then all the pages in the site have the correct information at the bottom of the page.

On a different note, you may have noticed the copyright information when you looked at the bottom of this page. This is something you DON'T have to update manually. To see how this is done take a look at this little script.

More ways to use include files.

Bad or missing query parameters in request.

Copyright © 2001-2008 Nuts4Asp.com
All other names used are property or copyright of their respective owners.