In PHP, what would be the cleanest way to get the parent directory of the current running script relative to the www root? Assume I have:
$_
To get the parentdir of the current script.
$parent_dir = dirname(__DIR__);