Ouput stuff while php script is running
<p>So I just created a script to resize a whole bunch of images.  <strong>Is there anyway to have there be output as its running through the loop?</strong> </p>

<p>Basically I have like 400 photos in photo db table.  Its gathering a list of all these photos, then looping through each one and resizing it 3 times.  (large,medium,small version).  </p>

<p>Right now on each loop I am echoing that images results, but I dont see the results untill EVERYTHING is done.  So like 10 minutes later, I will get output.  I added this set_time_limit(0); to make sure it doesnt time out.</p>

<p>*<em>EDIT *</em> It looks like every so often the script actually updates to the browser, maybe every 30 seconds?</p>
