Tuesday, June 16, 2009

PHP code for listing files in a Folder


Below PHP code will be used for listing files in a folder.



<?php
$folder=dir(".");

while($folderEntry=$folder->read()){
echo $folderEntry."<br>";
}

$folder->close();

?>


More Articles...

No comments:

Search This Blog