Jump to content

record amount of data transferred


dogdog9

Recommended Posts

Depending on what you are tracking, it might not be possible with php.  However, if it was just images or something, you would have to get the file size of the upload or download and then store the items in a database by date.  Unless you really, really need this though, it probably would not be an efficient use of your time to write this code. 

You would have to manage this with a script that fetches files for the user and passes them along to the browser with the appropriate mimetype and whatnot.. You could certainly record the data this way. Upload is obvious - just log it during the file upload.

 

Google around, there are about a dozen pre-written scripts that will do these - some even manage bandwidth throttling.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.