I'm obviously not explaining properly. Sorry folks.
plumsauce: Thanks for this but I am not looking for a solution to dates etc. I was using this as an example of a reason for needing to call 'asp includes' from differnet domains.
Kang: thank you for your interest but I don't have 40 servers. I have 1 server with 40 domains.... (fred.com / joe.com / brian.com / george.com / etc.)
All domains (clients websites) are hosted on the same server and I want to have an include (let's call it copyrightdate.asp) that is located in one domain and that any other domain on the server can call.
Let's say the include is here: MyServer/htdocs/joe.com/includes/copyrightdate.asp)
I want the domain george.com to be able to call it as an include.
To clarify my question, both domains are on the same server but I can't call a file across the domains.
In other words, I can call the file with no problem in the normal way thus:
copyrightdate.asp is placed it under a folder called "includes" inside the domain
www.joe.com:
In
www.joe.com/default.asp I put the code <!--#include file="includes/copyrightdate.asp" -->
Everything is OK
Next, I am in
www.george.com/default.asp and want to call the same include from
www.joe.com/includes/copyrightdate.asp
I have tried numerous ways using relative paths and absolute paths but I can't seem to get the server to allow me to do it.
Do I have to change a server permission or something like that?
Thanks again folks for all the help.
Brian.