title: How to limit file upload speed in php or apache?
body: <p>I'm doing some form in Zend Framework for file upload on "Apache friends - xampp" server 1.7.1 on Ubuntu 9.10. </p>
  
  <p>My problem is that I what to add progress bar for this upload and since xampp server is on my localhost, file uploads are very fast. As a result, I have no time to check or observer if progress bar works as it should.  </p>
  
  <p>Is there an easy way (some option in PHP, Zend Framework or Apache) to reduce the file upload speed to e.g. 20kB/s. </p>
  
  <p>I tried to use <a href="http://bwmod.sourceforge.net/" rel="noreferrer">mod_bw</a> for Apache but it seems that it limits only downloads from the server, not the uploads to the server. I also tried to upload large files, like 400MB, but it is not good, since my web browser nearly crashes. </p>