PGD-Connect--Tribes-2-/Univ/twm2/patches/PatchList.php
2014-06-19 13:43:37 -05:00

17 lines
No EOL
393 B
PHP

<?php
$count = 0;
$dir = "/home/phantom7/public_html/public/Univ/twm2/patches/";
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
$count++;
$filed[$count] = $file;
}
closedir($dh);
}
}
//
for($i = 1; $i <= $count; $i++) {
echo "$filed[$i]\n";
}
?>