List files present inside the folder

by kalai 2009-04-23 16:17:11


<?php

$folder="uploaded";
$dir=dir("./$folder/.");
while($filename=$dir->read()) {
echo"$filename";
}
$dir->close();
?>

Tagged in:

1287
like
0
dislike
0
mail
flag

You must LOGIN to add comments