|
|
 |
Re: FN-FORUM: Creating a "Please wait..." page
date posted 1st August 2006 16:51
Have you got anywhere with this yet? It seems like quite a fun problem!
On Tuesday 01 August 2006 13:39, Richard Lewis wrote:
> On Tuesday 01 August 2006 13:02, D D Glendinning wrote:
> > The problem is that these pages take a while to load as there are some
> > quite hefty MySQL queries being done mid-page....
> >
> > I am wondering if there is a way of putting a small
> > popup/alertbox/window saying please wait while we search the system
> > type thing, which detects when the page is fully loaded and then
> > disappears?
>
> The trickiest bit is probably getting the background process to generate
> the content started. If PHP doesn't allow you to start a background thread
> (which I have a feeling it doesn't), you could start a PHP script /from
> within/ a PHP script with the system() function:
>
> ======== start-generation.php ========
> |
 |
|