PHP Include from differant domain on the same server

Discussion in 'Site & Server Administration' started by mike810, Jan 19, 2010.

  1. #1
    I work for a real estate web design company and their main content management system uses various include files. On the server they have now it works fine.. We pull information from profileyourcity.com , onto all the clients sites which are on different domains but on the same server.

    Now we have a new dedicated server with godaddy (who offers no support despite the hefty monthly price), and the php includes from different domains on the same server are not working...

    We have tried so many things and contacted godaddy but all with no avail.

    Does anyone have any suggestions or advice on a way to fix this?
     
    mike810, Jan 19, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Have you looked at any of the error logs to see if they are of any help? How do you have php compiled as well? If you are using suphp, that could be the issue.
     
    RHS-Chris, Jan 19, 2010 IP
  3. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #3
    I am pretty sure remote file include ( a different domain is remote) requires CURL which is usually disabled by default.

    They might also be iframing the content and it might be a matter of bad code.
     
    Colbyt, Jan 19, 2010 IP