hi guys,
ive been commissioned to create a website, but one of the requirements is driving me insane.
I have to create (or find) a php based script, that allows a user to login to the domain, upload a html file (+ images or audio files) and also specify the date, at which time the html page will be made accessible? eg. This is to allow the user to upload multiple files before going on a holiday, so that they are automatically released on the correct upload days without user interaction with the domain.
There is a good chance I will have to hit a mysql database at the same time for search indexing with ajax once the page is made available.
I have an idea how to create the php script, 'upload files to tmp dir' but im not sure how to issue a command to move them into the correct directories afterwards based on date/time. please advise.
The server will be either Ubuntu-Server or CentOS based.