Re: Wait.....I'm sleeping!
| From: | John Damask | Date: | Tue, 19 Dec 2000 14:21:42 +0000 |
| Subject: | Re: Wait.....I'm sleeping! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31178@lists.php.net to get a copy of this message | ||
That's the answer I was looking for!
However, it seems diff browsers produce diff results.
The flush() command doesn't work as hoped on IE v 5.5 but does on Netscape
4.75
It'll have to do....
thanks
John
----- Original Message -----
From: "Maxim Maletsky" <maxim.maletsky@japaninc.net>
To: "'JB'" <jbeebe@aimsmarketing.com>; "jcrowe"
<jcrowe@greenhills.net>;
"John Damask" <jbdamask@dotclick.com>; <php-general@lists.php.net>
Sent: Monday, December 18, 2000 9:15 PM
Subject: RE: [PHP] Wait.....I'm sleeping!
> use flush(); put it after your print() and it will force the browsers to
> display the content while PHP is still processing the file.
>
> Cheers,
> Maxim Maletsky
>
> -----Original Message-----
> From: JB [mailto:jbeebe@aimsmarketing.com]
> Sent: Monday, December 18, 2000 11:15 PM
> To: jcrowe; John Damask; php-general@lists.php.net
> Subject: Re: [PHP] Wait.....I'm sleeping!
>
>
> LMAO... this sounds like homework. Are they offering PHP classes now
adays?
>
>
> If ($awake!=true) {
> while ($nap=0) {
> print "I am Sleeping..";
> }
> print "I am AWAKE!";
> exit()
> }
> however you set up the form whatever it up to you.
> age-----
> > From: John Damask [mailto:jbdamask@dotclick.com]
> > Sent: Monday, December 18, 2000 1:55 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] Wait.....I'm sleeping!
> >
> >
> > If something != true I take a nap (using a while loop)
> > How can I tell users I'm sleeping? My echo statement doesn't print out
> until
> > the while loop ends.
> >
> > thanks
> > John
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>