Ouput stuff while php script is running

Protege

New Member
So I just created a script to resize a whole bunch of images. Is there anyway to have there be output as its running through the loop? 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). 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.*EDIT * It looks like every so often the script actually updates to the browser, maybe every 30 seconds?
 
Back
Top