I agree with the flush() solution. In addition, output a javascript code to update the display in the browser... for example: <script>documeny.theform.progressPercent.value++</script>
Elias "Tom Kohnen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! > Well i suppose flush() is useful in your case, flush out the output whenever > it is called, and not when the page is fully generated (the usual case)! > Sou you might to sth like this: > > - Print 1/4 of the progress bar > - flush > - wait some time > - print 2/4 of the progress bar > - flush > .... > > i don't know if it works, but that's the way it'd do it ;) > > - Tom > > -----Original Message----- > From: Serdar Sokmen [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 12:06 PM > To: [EMAIL PROTECTED] > Subject: [PHP] progress bar > > > Hi, > > I would like to add a progress bar to an installtion program I'm writing in > PHP. I basically have one function that I call, it takes about 30 seconds or > so to finish executing... I haven't done such a thing before. Can anyone > plese suggest me some ideas... > > Many Thanks > > Serdar > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php