<?php echo $mypath = realpath( dirname(__FILE__).'/..'); // gives: /path/to/file/ echo PHP_EOL; echo $mypath = dirname(__FILE__).'/..'; // gives: /path/to/file/directory/..
You have javascript disabled. You will not be able to edit any code.