I am trying to reference the test.php
file, which is two
directories up from the script that is executing.
I was wondering if there is a more elegant solution
echo realpath(__DIR__ . '/../..') . '/test.php';
Using PHP 5.5.9
I am trying to reference the test.php
file, which is two
directories up from the script that is executing.
I was wondering if there is a more elegant solution
echo realpath(__DIR__ . '/../..') . '/test.php';
Using PHP 5.5.9