How do you include a file that is more than 2 directories back. I know you can use ../index.php to include a file that is 2 directories back, but how do you do
Try ../../. You can modify it accordingly as it will take you up back two directories. First reach to root directory then access the required directory.
E.g. You are in root/inc/usr/ap and there is another directory root/2nd/path. You can access the path directory from ap like this:
../../2nd/path first go to root than desired directory. If not working please share.