You should do that yourself, by checking how many times the user entered the if(isset($_SERVER['HTTP_RANGE'])) {?> and I am not sure if this is going to work.
will say if I test this access maybe I don't need the database?
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #21 on: Jul 07, 2007, 03:42:55 pm »
Yes. The database thing is to have 1 concurrent download per ip.
Yes. The database thing is to have 1 concurrent download per ip.
I need a limit for each IP
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #23 on: Jul 07, 2007, 04:26:20 pm »
The script as is has limit for 1 download per ip. To make this work with dl managers, you should keep in the db how many open slots the user have, and how many of them stoped....
looks like more traffic than 14.2 MB (the filesize)
this was a request without the script...
« Last Edit: Jul 15, 2007, 08:32:37 pm by Olaf »
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #30 on: Jul 16, 2007, 10:36:58 am »
I'm using this partially download script now without any db/ip check and it looks like that it is working right now.
there are too possibilities for the unnatural traffic:
the server gave back the wrong response on some direct request via the download manager
or
this fu_xxx_ing FDM (free download manager) is doing something wrong
(I hope it's the second )
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #31 on: Jul 16, 2007, 11:39:43 am »
I think the problem is that the apache log file logs this traffic wrong. If the dl manager was using more bandwidth the downloads would be slower than by not using it
I think the problem is that the apache log file logs this traffic wrong. If the dl manager was using more bandwidth the downloads would be slower than by not using it
the DL manager splits the file into x parts, this way its possible to to download files faster if the downstream is lower on the target server.
the log above is from a DL without using a script, while using the script it's OK
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6882