Basically i have a top 10 posts i want to add to my site, my query is can I call the include from a different site on a different host and server? Or is it not possible? e.g. <!--#include file="http://www.themt.com/common.asp" --> <!--#include file="http://www.themt.com/functions/functions_date_time_format.asp" --> this is the error Active Server Pages error 'ASP 0126' Include file not found /index.asp, line 2 The include file 'http://www.themt.com/common.asp' was not found. ty in advance
Ok, wasnt sure.... if your database allows remote connections then you could query it directly to produce the top 10 posts or alternatively set up some form of XML output either in the form of a web service or more likely, in the form of an RSS type feed which the 2nd site then consumes and displays
As per my suggestion, either query the db directly if it allows remote connections or write a page that outputs an xml file on the original site which the second site then consumes... if you make the XML as RSS so other users/ sites can consume it and help to drive traffic