hi.. if you have an action that the server is performing, and the action is going to take some amount of time, then you're going to need to provide some form of "progress" bar, that's a function of jscript/ajax on the client side... you can't use just php, as php runs on the server, which is where your action is also running. the unfortunate situation is that a php 'progress bar' wouldn't be invoked until after the action has completed... unless you had a periodic timer within the "action" that periodically displayed something to the page (which could be possible) action { loop through the action/task do some events display "x" //for progress bar continue with the event processing end loop } the other, probably better option would be to have a progress area, that was/is a jscript/ajax based, that talked/polled the server to determine the overall status of the "action" as it's being performed. what did a google search on php/ajax progress bar return? peace -----Original Message----- From: Nick Stinemates [mailto:nick@xxxxxxxxxxxxxx] Sent: Friday, April 18, 2008 9:35 AM To: php-general@xxxxxxxxxxxxx Subject: Re: need "pop-up" in progress alert On Fri, Apr 18, 2008 at 10:54:36AM -0400, Jason Pruim wrote: > >> So if someone could point me in the right direction I'd really appreciate >> it. > > Hi Steve, > > From my understanding of how PHP works and from reading the archives of > this list, and asking quite a few questions my self.. You can't do a > progress bar in PHP since by the time it gets to the browser, PHP is done > doing what it does. This is actually false, at least on my system(s). Try this out: <?php while (true) { print "x"; } ?> -- Nick Stinemates (nick@xxxxxxxxxxxxxx) http://nick.stinemates.org -- 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