I just want to display the name of my images, without the path (../uploadedImages/
)
我只想显示图像的名称,而不显示路径(.. ./uploadedImages/)
<?php $images = glob("../uploadedImages/[kK]*.{jpg,png,gif,bmp}",GLOB_BRACE);
foreach($images as $image) {echo "$image<br>"} ?>