Php – How to include a file over 2 directories back

filesystemsincludephp

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 it for 3 directories back?
Does this make sense?
I tried .../index.php but it isn't working.

I have a file in /game/forum/files/index.php and it uses PHP include to include a file. Which is located in /includes/boot.inc.php; / being the root directory.

Best Solution

.. selects the parent directory from the current. Of course, this can be chained:

../../index.php

This would be two directories up.