to show you how you can display or show the values of an array you can use this small script i created
<?
## THIS TUTORIAL CREATED BY WWW.WEBUNE.COM LICENSED THROUGH WWW.WALLPAPERAMA.COM
$dir_fs_www_root = getenv('SCRIPT_FILENAME'); 
$words= explode("/", $dir_fs_www_root );
	for($i =0; $i < count($words); $i++) {
		echo "<strong>$words[$i]</strong> = ";
		echo $words[$i]."<br>";
	}
?>