Dene Gibson

Automatically list images in a directory with PHP

Sometimes I want to lob some images into a directory to be viewed online for review. There is a way of doing this using glob which is a function in PHP that searches for path names matching patterns according to specified rules. <?php echo(‘<style type=”text/css”> img { margin:3px; padding: 7px; border: 1px solid #aaa; background: […]