Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $imagesDir=opendir('upload/');
- while (false !== ($file = readdir($imagesDir))) {
- echo '<img src=' . $imagesDir . $file . '/>' ;
- }
- closedir($imagesDir);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement