hi,
I need to write a php script to record the amount of data transferred per month per registered user for upload/download data. Any good reference how to do such function?
Thanks,
Felix
record amount of data transferred
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: record amount of data transferred
You can use a PHP script to download files. See the header() function for examples. If you get the file size and add include it with the record of the download, or simply add it to a total, you can track downloads.
(#10850)