Path : /home/artemisi/public_html/phpGenImageTest__3e4c3ab/ |
Current File : /home/artemisi/public_html/phpGenImageTest__3e4c3ab/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); ?>