Quote:
Originally Posted by Milhouse
That's what i assumed as well.
Which is not good for me. i need ti to essentially effect all attachements.
Any ideas from the gurus here?
|
Try finding this:
PHP Code:
echo $attachmentinfo[filedata];
and changing to:
PHP Code:
// UploadBandwithLimitHack
// Original line: echo $attachmentinfo['filedata'];
$bandwidth = 30; // Desired max. bandwidth in KB/s.
$i = 0;
while ($i < strlen($attachmentinfo['filedata'])) {
echo substr($attachmentinfo['filedata'], $i, 1024);
$i += 1024;
flush();
usleep(1000000/$bandwidth);
}
// UploadBandwidthLimitHack
This is essentially what was posted above, but for the filedata with vb2 itself