Um well I have just finished developing my reseller software, where I fix this problem in away.
The problem I had:
Limiting folder bandwidth per a month.
use PHP to access the DH daily logs and cache them into a db for easier access, also caching the file size of each file hit. Run this php command hourly via crontab, to attempt to get all files.
Use this calculation to calculate bandwidth:
filesize x # of requests
This will give it to you in bytes.
This code is not 100% accerate for my perpouse. Since it does cache the files hourly removing previous cached versions. If the file doesn't exist any more it will then have a file size of 0bytes. Thats one way the system can be cheated.
If you want me to send you the code I will.
Use "DCOUNTME" promo code when registering and recieve up to $85 off! (referer: saygoodbye)