i created a simple download script that logs the username, filename, and time of a download from a user.
the time is in this format: 2003-09-16 13:55:32
my question is how hard would it be, based on the log, to limit a user to only say 5 downloads per hour? i want to run a simple query or something that if 5 rows exist with the same hour, then no more downoloads are possible, does that make sense?