Looking for php include statement that works regardless on how nested the folders are. I use
../includes/file.php
and that works for only one level folder. If I re-use that code at different folder levels it does not work. If I add the complete path
/account/website/protected/includes/file.php
it does not work. If I add a partial path
/protected/includes/file.php
it does not work. Any help is appreciated.