I need a script to output an image at its scheduled time.
The script is comprised of a few different PHP files.
Time lookup page:
This page is where people would come and see when the next available timeslot is displayed in both date and time format (Jan 07, 2009 - 7:07pm). The user is looking to place a URL pointing to an image that will be displayed on a separate page. I do not want to host the images. They will be hosting it from their own server. All we are taking is the URL pointing to the image.
Registration and Modification
The user would have a few choices… They can register with the time listed on the page, they can choose to be a backup image or they can modify an existing account.
Time slot registration
When registering an assigned timeslot account, the user will be prompted for name, address, phone number, email address, image URL, and password.
When registering a backup account, the user will be prompted for name, address, phone number, email address, image URL, and password.
The user will login using their email address and set password. They can only make modifications to their image URL.
Admin should be able to log in to approve or deny pending image URLs. If an image is denied, a backup image will be placed in its assigned spot. Admin should also have the ability to change all fields in the account (ie name, address, phone number, email address, image URL, and password.)
Admin Queue page:
A list of approved images URLs along with the time and date they are due to run.
The output page displays the appropriate output image at its scheduled time
1.. The last image registered will keep displaying if there is no image to take its place in the queue.
2.. Users DO NOT choose a specific time. They are shown the next available time, and are given the choice of accepting or waiting until the time they would like is available.
4. Users can only reserve a minimum of 1 minute and a maximum of 60 minutes in 1 minute intervals.
5. Users cannot submit the same image URL twice within a 30 day period.
6. Users should have the ability to come back and make changes to their URL up to 12 hours before their image URL is to go live. Once their image URL is run, their account will expire.
The script must be simple to follow along with documentation where appropriate.