Print Page | Close Window

include file

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=22512
Printed Date: 29 March 2026 at 4:24pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: include file
Posted By: Ivar
Subject: include file
Date Posted: 25 January 2007 at 9:25am

Hello,

When I want to place a footer on my site i can do that with the code:
<!--#include file="footer.asp"-->

But I have more than one sites and on every site I want to have the same footer. I thought the code could be:

<!--#include file="http://www.mijnsite.nl/footer.asp"-->
But that does'nt work.
How can I place the same footer on every single site, without placing the same footer on every server every time  ?
 
Thanks..



Replies:
Posted By: WebWiz-Bruce
Date Posted: 25 January 2007 at 9:39am
For security reasons you can not use an include in that way.

You would need to place a copy of the include file on each server.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net