Quote:
Originally Posted by raymor
You want to include the server path to the file, not the URL. So something like:
include ('../../othersite.com/public_html/stuff.inc');
Symlinks on the server can simplify that.
If suexec is preventing you from doing the include, suexec a more serious security hole than fopen_url, as bad as fopen_url is.
The above is if you have to include() instead of doing:
script type="text/javascript" src="http://somesite.com/cool.js"
|
Ah, I didn't catch the "same server" bit. Ray's right, you can use a server path to the files in domainA.com's path instead then.