I have some script which output the images, with an interval of 5 seconds, on a screen.
All images are in a directory called images/easter.
The URL to display the webpage is http://'localhost'/index.php.
In the index.php I have a variable: $directory = 'images/easter/.
We want users create a new image directory and upload pictures to it (eg images/holiday).
The new images have to be displayed with a simple change in the url.
http://'localhost'/index.php?holiday
I think this can be done by URL parsing in PHP. But how to script this?
Thanks in advanced.