CHIngs |
05-17-2005 12:16 AM |
Quote:
Originally Posted by AndrewD
Thanks for the suggestion. Do you mean:
- When a user enters a link/file, she specifies the first time at which it can be accessed? (e.g. at 15:00 on the 1st June)
or
- The administrator can set up the database for that people can only make multiple downloads at certain times of day? (e.g. between 09:00 and 12:00)
or something else?
|
Both the ideas you just said seem good to be included as well.
But what I mean is that, say a user clicks on a link, the script should LOG the exact second/minute/hour/day (and other info) in the database. In the ADMIN PANEL, I will specify the intervals between each download, say 60 seconds. So if a user tries to download another file within 60 seconds, it will give him/her an error message saying they have to wait 60 seconds until the NEXT download.
The code may look something similar to this:
PHP Code:
if ($time_of_download >= $current_time - 60)
{
echo ("Please wait 60 seconds until next download");
}
And you can make this feature GLOBAL (easy) or for individual category where the admin can specify individual times (a little more work). Its your choice.
But all I am asking is that, somehow, please try your best to include this feature in the next release, or a mini release :rolleyes: .
|