Forum Moderators: mack
Example.
I have a file called file.inc
It lives on the server with www.website.com. I also want to include the file on subsite.website.com.
Is this even possible? I can't seem to find any way of doing it.
There are others that actually do cross servers.
subsite1.website.com is on one server
subsite2.website.com is on a different server
Is it possible to do server side includes across servers?
Even if it were possible, it sounds to me like a crazy idea from a security point of view.
Your server should never run untrusted code. IMHO code that's not physically on your server can't be fully trusted (unless you have a secure private network connecting your servers) - it's too easy to attack your DNS and end up sending arbitrary code to your server. Ouch.