Jump to content

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


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...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.