Forum Moderators: coopster

Message Too Old, No Replies

Remote includes

         

madk

5:49 pm on Aug 7, 2007 (gmt 0)

10+ Year Member



Hello again,

I have written a script that will display the contents of my RSS feed on any page. My goal is to allow other sites to post my feed within their site and I was just wondering if it is possible to do remote includes like:

<? include("http://www.example.com/show_feed.php");?>

If this is on another domain other than example.com will it work correctly?

I have explored a javascript solution but I have found PHP to produce better results as I'd prefer to not depend upon JS.

If this is not correct could someone suggest another possible solution? Thanks in advance.

Matt

madk

5:50 pm on Aug 7, 2007 (gmt 0)

10+ Year Member



Looks like I answered my own question during testing.

"URL file-access is disabled in the server configuration"

Time to explore other options.

d40sithui

6:04 pm on Aug 7, 2007 (gmt 0)

10+ Year Member



if this is possible, you can potentially get anybody's username/password file =/