Forum Moderators: open

Message Too Old, No Replies

Can I use ASP include to call file in a subdomain

Can this be done?

         

timware

10:14 pm on Jan 30, 2006 (gmt 0)

10+ Year Member



We have a file in a subdomain of our site that we'd like to include in the main domain.
Include file name: includeHome.asp

Full path: /subdomains/community/httpdocs/mt/includeHome.asp
URL: [community.mydomain.com...]

The file we want the include pulled into:

Full path: /httpdocs/test-include.asp
URL: [mydomain.com...]

Include script:
<!-- #include virtual = "http://community.mydomain.com/mt/includeHome.asp" -->

I also tried <!-- #include file = ...

but it made no difference.

Help! Thanks.

Tim

ErolinDesigns

11:44 pm on Jan 30, 2006 (gmt 0)

10+ Year Member



Have you tried using the full path i.e.

[mydomain.com...]