Hi,
I have developed a download / upload script that also counts the downloads of each downloaded file.
For statistics i currently got total files and total overall downloads but would like to extend this so it can say how many downloads there has been in a week, month, year.
I know i would need to probably setup a cron job to reset those stats each month but my dilema is what is the best way and most efficent way of creating such a script that i could implement with my own?
I did a Google search to see if i could find a tutorial to see how other developers do such a task but could not find anything.
If anyone could recommend the best way for me to do this please reply. My stores all the data about the file in a MySql database and files are stored in a folder not MySQL.
Thank you
PHPLOVER