I've got a nice progress bar with this code: for($i=0;$i<10;$i++) { flush(); sleep(1); echo '<img src="img.gif" width="20" height="20" border="0" alt="X">'; }
But read manual for the flush() function. electroteque wrote: >hi there i have created a script to regenerate thumbnails for a photo >gallery , i have changed my code to use gd true color although it takes >forever now , i have it generating 20 at a time then doing the rest but >still takes forever , i know its impossible to generate a true progress bar >for image uploads via a browser but how about server side processes ? > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php