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. 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.