How can I make file download slower?
<p>This is  my <a href="http://www.downloadformsindia.com/index.php?option=com_download&amp;e=n&amp;task=showpage&amp;file=Forms/Income-Tax/AY2010-11/ITR-1/form-20itr-1_001.doc&amp;title=Income%20Tax%20ITR-1%28New%20Saral%202%29%20Form%202010%3aMS%20Word%20format&amp;code=igi" rel="nofollow">final download</a> page of my website where general public is able to download govt documents. From server my code is reading the to-be-downloaded-file and in a loop sending to the client browser.</p>

<pre><code>$fp = fopen($file, "rb");
    while (!feof($fp))
    {
        echo fread($fp, 65536);
        flush(); // this is essential for large downloads
    }
    fclose($fp);
    exit;
</code></pre>

<p>I want to send the file very slowly -- that is can I use Sleep function (or anything like that)  within this loop and by how much maximum without causing the user client browser to timeout?
So that the user gets sufficient time to read the ads displayed on the page while he/she awaits for the file download to finish.<br><br>
Also I'm not proficient with PHP environment.<br><br>
(Pl. fogive me for the morality/immorality of this).</p>
