...while this is normal HTML.

PHP: phpinfo - Manual

\n"; echo "dirname(__FILE__) = " .dirname(__FILE__) ."\n"; echo "substr_count(dirname(__FILE__), DIRECTORY_SEPARATOR) = " .$include_dist ."\n"; echo "dirname(_SERVER['SCRIPT_FILENAME']) = " .dirname($_SERVER['SCRIPT_FILENAME']) ."\n"; echo "substr_count(dirname(_SERVER['SCRIPT_FILENAME']), DIRECTORY_SEPARATOR) = " .$calling_dist .""; return ($calling_dist - $include_dist ? str_repeat("../", $calling_dist - $include_dist) : "./"); } echo "dir level = " .getDirLevel(); ?>