Jump to content

[SOLVED] Include File above public_html


AE117

Recommended Posts

Ok heres the deal I installed a PEAR package using a hosting company and it install the package under

 

/home/php

 

which is outside and above my public_html

 

I have a file which is under the public_html/folder/folder/folder/file.php

 

that has a require statement to a folder located in the folder under the home/php

 

so my question is how do i point to a file above the public_html?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/154573-solved-include-file-above-public_html/
Share on other sites

"../" dot dot slash means move up one directory, from the current file/location

 

correct but here is the problem is i only use dot dot slash it takes me to and outside folder thats it.

 

The file is located with in another folder outside of the php file containing folder.

 

So not only do i need to move out of my current file location i need to move into another one

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.