I have a date generator cgi script that allows me to set some parameters for the dates that are displayed in a drop down box for customer selection. That script has been attached. I use this script in several different 'customer order forms'.
I need a similar script with a slightly different function.
1. The script must create a drop down list of dates for the customer to select from.
2. I need the first date displayed to be 14 days from the current date.
3. Each day at say, midnight, the top date must be dropped and a new date added to the bottom of the list.
4. Inside the script, I must be able to adjust several parameters...
a. How many dates in the future to display in the drop down box (typically this will be a number between 30-60)
b. What will be the first date shown (typically 2-21 days from the current date).
c. The script must not display dates that are a Sunday or Monday.
d. I must be able manually input other dates not to be shown (no-shipping holidays)
e. I must be able to set the time of day that the script drops the first date from the top of the list.
I think that is it. The file I have uplaoded has functions a., c., d., and e. above. My current version of the script is online at [url removed, login to view]
Be sure to look at this script code before responding.
Test and support for a few days should be included.