What does this mean?

Discussion in 'PHP' started by CuBz, Oct 8, 2007.

  1. #1
    I get this on my website, what does it mean?


     
    CuBz, Oct 8, 2007 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    It means that there is a base directory restriction in effect on the server for security purposes. Normally this only allows you to include or require files that are in the main www directory of the site. Trying to include from a higher directory, or the directory of another site on the same server is prohibited. In your case it looks like you are trying to include a file from another account on the server, which would be a major security hole if it were allowed.

    You can probably use an fopen or file_get_contents function if you don't need to do anything with the php code on that page.
     
    jestep, Oct 8, 2007 IP