May 01
<?php
$dirName = 'images';
$dir = opendir($dirName);
while ($filename = readdir($dir)) {
echo $filename . '<br />';
}
closedir($dir);?>
Leave a Reply
You must be logged in to post a comment.
<?php
$dirName = 'images';
$dir = opendir($dirName);
while ($filename = readdir($dir)) {
echo $filename . '<br />';
}
closedir($dir);?>
You must be logged in to post a comment.
Recent Comments