0byt3m1n1
Path:
/
home
/
artemisi
/
www
/
phpGenImageTest__3e4c3ab
/
[
Home
]
File: findfiles.php
<?php //$tdir = "."; //$tdir = "http://www.artemisiaink.com/phpGenImageTest/images/"; $tdir = dirname($_SERVER["PATH_TRANSLATED"]); $tdir .= "/images/"; echo "looking for files in: ".$tdir."<br>\n"; $dh = opendir($tdir); while (($file = readdir($dh)) !== false) { echo "filename: $file : filetype: " . filetype($tdir . $file) . "<br>\n"; } closedir($dh); ?>