I try google and find out how to make a .php script that will make an automatic slide show of images from a folder, I managed to get the photos automatically in php, but I canโt figure out how to make them move one by one like a slide show.
Here is the URL of the page on which the images are displayed, so you can see Here is the code I used.
<? $files = glob("images/*.*"); for ($i=0; $i<count($files); $i++) { $num = $files[$i]; echo '<img src="'.$num.'" alt="random image" />'."<br><br>"; } ?>
Do you know how to do this? Or another way to do this? simpler? Java / XML?
source share