PHP Listing only one type files
Listing only one type files
<?
$format = ".php";
$files = glob("*$format");
for($count = 0; $count < count($files); $count++) echo "$files[$count]<BR>";
?>
<?
$format = ".php";
$files = glob("*$format");
for($count = 0; $count < count($files); $count++) echo "$files[$count]<BR>";
?>