I need a function to call from an URL, preferably PHP, that will change the name of a directory.
I will use it to change the name of a directory to open. People will be able to access open.
I will also use the same function to change the directory name to closed to keep people from being able to load the files in that directory.
In this way, I can use cron to call the two name changes to allow and disallow access to a certain directory during certain times.
Any ideas?
TIA. + rep for useful help.
I will use it to change the name of a directory to open. People will be able to access open.
I will also use the same function to change the directory name to closed to keep people from being able to load the files in that directory.
In this way, I can use cron to call the two name changes to allow and disallow access to a certain directory during certain times.
Any ideas?
TIA. + rep for useful help.