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:



Thanks for visiting our blog


twitterrss facebook linkedin YouTube subscribe


Subscribe via email

Enter your email address: