I'm trying to put together a code that would allow me to :
- automatically list the image files from a given directory on my server
- get the list back as a string
- use that string to generate a gallery image
The BBcode itself would look like this:
So I managed to write the code in PHP that returns the list of image files from a directory. The code is in a php file that I have uploaded to my ./forum directory. When displaying that PHP page in my browser, I can see the list of the image items, each separated with a comma.