Jump to content

[SOLVED] include() problem when including from another sub-domain directory


tjhilder

Recommended Posts

Hi,

 

first off I have these directories (sub domains) on the server:

[1] /images.mysite.com/

[2] /mysite.com/feeds/

[3] /admin.mysite.com/

 

I have news feeds in [2] that I want to update via PHP in [3] subdomain (via browser) what happens is when a new article is added to the database, it loads a script (with an include() ) and then updates the feeds.

 

but I can't get the include to work, i tried a few ../ and even copying the entire address but this does not seem to work.

 

the same goes for another where I upload an image at [3] (via browser) to [1] but I can't get the include() url. all folders/files involved have been set to 0777.

 

hope this is understandable.

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.