Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] "loading please wait" screen...how to? From: Carsten H. Pedersen (carsten.pedersen <email protected>)
Date: 03/25/99

Or write out "loading", then stick the results in a table that
only ends along with the last piece of data being output
to the browser. That would prevent the results from being
shown until all are available.

Though why anybody would choose to display a "loading..."
screen is beyond me. Getting the results from the database
is usually much quicker than sending the results across the
'net. And people are after all used to waiting for 1 or 2
seconds anyhow. Putting up such a message is the same as
saying "You're in for a *real* long wait buddy" which is
not something your average sufrer is willing to accept.

Carsten

Brian Schaffner wrote:
>
> or you could send a Header("Connection: keep-alive") followed by echo
> "loading ..." followed by flush().... then send the data.
>
> -brian-
>
> > -----Original Message-----
> > From: Manuel Lemos [mailto:mlemos <email protected>]
> > Sent: Wednesday, March 24, 1999 4:32 PM
> > To: Howie Oakes
> > Subject: Re: [PHP3] "loading please wait" screen...how to?
> >
> >
> > Hello Howie,
> >
> > On 24-Mar-99 19:15:59, you wrote:
> >
> > >I have noticed on some sites when I submit a form to search
> > a DB a simple
> > >screen comes up that says "loading", then the results appear. I was
> > >wondering if anyone had any idea how to do this...the url
> > does not change
> > >when the page is coming up, so I assume there is a trick
> > using headers or
> > >something...
> >
> > There's a trick that consists in using an hidden frame with a form to
> > submit query parameters and colect results using Javascript.
> >
> > Regards,
> > Manuel Lemos
> >
> > E-mail: mlemos <email protected>
> > URL: http://www.e-na.net/the_author.html
> > PGP key: finger://mlemos <email protected>
> > --
> >
> >
> > --
> > PHP 3 Mailing List http://www.php.net/
> > To unsubscribe send an empty message to php3-unsubscribe <email protected>
> > To subscribe to the digest list: php3-digest-subscribe <email protected>
> > For help: php3-help <email protected> Archive:
> > http://www.php.net/mailsearch.php3
> > List administrator:
> > zeev-list-admin <email protected>
> >
> >
>
> --
> PHP 3 Mailing List http://www.php.net/
> To unsubscribe send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest list: php3-digest-subscribe <email protected>
> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
> List administrator: zeev-list-admin <email protected>

-- 
"If you sent American beer out to be analyzed, the lab 
would probably phone up and say, "Your horse has diabetes."
                      - Sharyn McCrumb, "Bimbos of the Death Sun"

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>