Log in

View Full Version : Limiting how much a user can download


DPtheGod
03-24-2008, 06:39 PM
Hello,

I am setting up a php download script, which I have working perfectly fine, to allow users to download from a protected directory. Is there a way to set the system up so that it detects how much a user has downloaded, and if they have downloaded too much, it cuts them off?

For example, I only want people to be able to download 50 MB of files per week, so if they've already downloaded 50 MB for that week, it cuts them off.

Does anyone know how to set this up?