Hi just wondering what i can do to change the output of the path for example…
[php]<?php
$files = glob(“images/.”); for ($i=1; $i<count($files); $i++) {
$num = $files[$i]; print $num."
"; echo ‘’."
";
}
?>[/php]
What it does is outputs every image which is in a folder, it also outputs the file name of each image. but … the image file names always say like /images/image001.jpg although i just want it to say… image001.jpg.