<?php
$insArr=array();
if ($handle = opendir('here is folder path name')) {
while (false !== ($file = readdir($handle)))
{
echo $file;
echo '<br>';
}
closedir($handle);}
?>
Its display name of all file/images from specific folder/directory,
Just change the folder/directory name what ever you want, and if you want any help then comment here!
Enjoy!
No comments:
Post a Comment