Sublime directory Surf the web anonymous Pagerank Monitor


newbie looking to limit set users' download limits

Amateur
Sun 14 December 2008, 11:54 pm GMT +0100
Hi, I'd like to set a daily 5GB limit for my customers.  How best can that be accomplished?  -TIA

Nikolas
Mon 15 December 2008, 09:37 am GMT +0100
You need to provide more information. Do you use some application to serve downloads?

lumpersservice
Sat 12 December 2009, 03:39 pm GMT +0100
I agree with Nikolas. you should provide more info...so that we can help you a little..at least..:)

Meth0d
Sun 17 January 2010, 10:35 pm GMT +0100
if you're using dynamic links to serve the download, like:

http://site.com/download.php?id=3 or http://site.com/download.php?file=worddoc.doc

then just take the files size (before you initiate the download to their browser) and store it in a database table for their account. add to this number every time they make a download, but first do a check to make sure their total download size isn't greater than 5gb

p.s. hope it is not to late to post a reply :)

infoman66
Tue 21 September 2010, 07:23 pm GMT +0200
Can PHP detect when the download started and is completed successfully? This is the command to be executed on the user's computers ...

timpane
Wed 6 July 2011, 06:04 pm GMT +0200
Thanks for sharing such a useful source of information....

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional