I just want to display the name of my images without a path ( ../uploadedImages/ )
../uploadedImages/
<?php $images = glob("../uploadedImages/[kK]*.{jpg,png,gif,bmp}",GLOB_BRACE); foreach($images as $image) {echo "$image<br>"} ?>
Use basename
basename
echo basename($image) . "<br>";
Source: https://habr.com/ru/post/1442097/More articles:CSS corner wrapping ribbon over image - cssHow to determine if a user enters RTL or LTR? - javascriptsimple_form - how to create radio buttons with embedded text input fields - ruby-on-rails-3How do I create a GLSL shader to work on Crossfire / SLI - c ++Depth first depth search - javaWhy / How is ManagedPipelineMode different from when you install? - powershellSVN Notifier will not be updated after changing the password - svnRotate iOS 6 Compatible iOS 5 - iphonePossible Causes The Aspx Crystal Report Viewer will hang indefinitely on IIS 7.5 in certain reports? - asp.netHow can I make this relationship between parents and children work? - mysqlAll Articles