download traffic counter

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

i have web site for educational stuff.. and i need to upload some
videos (mpeg,avi... ect)..
my hast has limited traffic .. so i need to control the downloaded
files to use a part of the traffic .. then disable the downloading
when the traffic for downlading this files to some point (lets say

all the files are in one directory (folder).. is there any php program
that can count how much is downloaded from this folder then disable
downloading after it reaches some point??

thanks guys

ps:if that group is the wrong group for this question ..can u tell me
where to ask?

Re: download traffic counter (m-flo) wrote in message
Quoted text here. Click to load it

you could manage your downloads not via direct links to files but
through a script (i.e. download.php?$filename). download.php could,
before starting the download of $filename, get the size of $filename,
store it somehow and check and enforce your limits.


Site Timeline