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
../index.php
I recomend to use __DIR__ to specify current php file directory. Check here for the reason.
__DIR__
__DIR__ . /../../index.php