note 25436 deleted from function.fpassthru by vincent
| From: | vincent@php.net | Date: | Sat, 16 Aug 2003 21:17:10 +0000 |
| Subject: | note 25436 deleted from function.fpassthru by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54479@lists.php.net to get a copy of this message | ||
Note Submitter: codeum@netscape.net
----
Straz@... above has posted a nice workaround. This here can be used to throtle bandwidth.
while(!feof($fn)) {
$buffer = fread($fn, 4096);
usleep (500000); //**** for about 8.7kb/s
print $buffer;
}