I've been working on a simple cms of sorts only to be hit by a fairly large problem. I've been working on the basis that I would be able to reference php files on a single server from any other server using a simple line such as
however it seems this is not as easy as it seems, due to security measures taken by many hosting companies to prevent php access to outside files, resulting in the warning
"Warning: include() [function.include]: URL file-access is disabled in the server configuration in www.mydomain.com/user/htdocs/index.php on line 7"
Having done a bit of research I came across the potential solution of adding the following line to my code
However this hasn't worked either.
I am quite new to php, so my knwoledge isn't particularly extensive. I'm assuming I won't be able to make this work, so I guess what I really want to know is, is there an alternative to the "include()" php function that might work for me?