Re: flushing contents to the browser

From: Date: Wed, 12 Dec 2001 23:28:44 +0000
Subject: Re: flushing contents to the browser
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77516@lists.php.net to get a copy of this message
Hi The most practical thing to do is to do the big db operation in a background process and have an independent page on the browser that automatically refreshes and changes when the job is done. There are 2 issues... 1 - running the background process, there are quite a few ways of doing this (search the list archives for details). 2 - automatic refresh. There's an HTML meta tag that does this, check out an HTML reference. Hope that helps -- shane On Wednesday 12 Dec 2001 9:17 pm, DigitalKoala wrote: > hi folks, > > i'm trying to display something like "processing... please wait" on a web > page whilst a rather hefty database query is being run. > > i don't want to refresh the page so i've been attempting to use flush and > ob_start, together with some css stuff to try and do this.. but no luck so > far - as once the buffer has been flushed, i can't retrieve the content.. > > does anyone have any nifty ideas? > > many thanks > dk

« previous php.general (#77516) next »