Including the same ASP file across several websites all hosted on the same server?
April 19, 2006 12:36 PM
Subscribe
ASP include files. Is there a way of including the same ASP file across several websites all hosted on the same server?
I know this isn't experts exchange, but I know there's some very knowledgeable techies here :)
Basically, I have a functions.asp file which contains several useful functions (such as one that formats the date nicely).
Say I have 10 websites hosted on one Windows2003 server that all have their own copies of functions.asp. I want just one copy of functions.asp that resides in its own directory, even outside the wwwroot, that i want to reference, so every time i change one i don't have to change all of them.
Possible?
< !--#include file="d:\include\functions.asp" -->
doesn't work!
Thanks.>
posted by derbs to computers & internet (5 comments total)
posted by vraxoin at 12:55 PM on April 19, 2006