I am creating a CMS application as an addition to a website of mine.
On this website, there is a promotions section.
I want to make a page that lets me easily add and edit promotions (2 images).
Ideally, this page would let me create and edit folders that are stored within a specific folder on my server. I could then upload images to the relavant folders. The folders that house the images would be called something like "sept-oct".
I already have a blank page that can only be seen once I have logged on as the website administrator account. Now to fill that page.
I am slightly aware of the ability of php, when it comes to creating code that creates directories, or creating and editing files.
Can anyone provide me with some suggestions, links to tutorials, peices of code or tips that would cover this area of php?
My main question though, is how would I list the promotion folders stored in the main promotions folder? Something like drawing out rows of mysql data and displaying them in a loop.
With that I could begin to add new folders or edit existing ones.