Sent: Thursday, May 17, 2007 6:55 PM
Subject: Re: [PHP] Download speed limit
On 5/17/07, Rangel Reale [EMAIL PROTECTED] wrote:
Hmm that apache module isn't quite what I need, it just accepts or
refuse
connections based on bandwidth usage, it does not throttle the
connection.
Have you tried
: [PHP] Download speed limit
Rangel Reale wrote:
Hello!
For my application I need to limit the speed that my application
sends data, in my case a binary file.
I need to send the speed as a parameter, like:
sendfile.php?speed=2
Would send the file at 20kb/s (forgetting about real byte
Reale [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, May 18, 2007 2:34 PM
Subject: Re: [PHP] Download speed limit
limiting speed by using sleep in your script is a very bad idea. for a 350
MB file, with a 20 KB/s limit the script would take aprox. 5 hours. you
can see how
: Thursday, May 17, 2007 6:10 PM
Subject: Re: [PHP] Download speed limit
Yes, it seems to be bad thing, but this limit is because the big files are
non-critical, but I can't let them hammer the customer's connection, using
all the bandwidth. The internet connection is slow (500kbps ADSL), and
they
have
On 5/17/07, Rangel Reale [EMAIL PROTECTED] wrote:
Hmm that apache module isn't quite what I need, it just accepts or refuse
connections based on bandwidth usage, it does not throttle the connection.
Have you tried something like this?
?php
$file = '/opt/local/apache2/htdocs/test_file.txt';
[EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thursday, May 17, 2007 6:55 PM
Subject: Re: [PHP] Download speed limit
On 5/17/07, Rangel Reale [EMAIL PROTECTED] wrote:
Hmm that apache module isn't quite what I need, it just accepts or refuse
connections based on bandwidth usage, it does
Rangel Reale wrote:
Yes, I tried, this works, but I would like to control the send speed more,
preferably via URL, as this programs will only be accessed by my desktop
application, and I have full control of them.
But, if there is no other way, this will be the way!
Use the url parameter to
Rangel Reale wrote:
Hello!
For my application I need to limit the speed that my application sends data, in
my case a binary file.
I need to send the speed as a parameter, like:
sendfile.php?speed=2
Would send the file at 20kb/s (forgetting about real byte counts for this
example).
To
Between 90 and 350 MB.
- Original Message -
From: Jim Lucas [EMAIL PROTECTED]
To: Rangel Reale [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Wednesday, May 16, 2007 6:41 PM
Subject: Re: [PHP] Download speed limit
Rangel Reale wrote:
Hello!
For my application I need
9 matches
Mail list logo