Re: sleep() & flush()

From: Date: Fri, 25 Aug 2000 17:38:21 +0000
Subject: Re: sleep() & flush()
References: 1 2 3 4  Groups: php.windows 
Request: Send a blank email to php-windows+get-2160@lists.php.net to get a copy of this message
Andy Hoffman wrote: > > Andrian Pervazov wrote: > > > Actually, the code is working in Netscape, it doesn't work in Explorer. > > I'm not using any <HTML> or BODY tags. > > As good practice, IMHO, php scripts should ALWAYS contain proper HTML formatting (if > you're running these scripts to create web pages :)). See what happens if you add > <html> and <body> tags... you never know, right? > > Also, just another fun note... the biggest issue I've ever seen in *delayed* display > of data is within a table... IE and Netscape will both display plain data as it is > received from the server... BUT tables (and the data therein) will not display in > Netscape until the ENTIRE table has been downloaded (as it does it's processing of > table display at that point only)... so if you've got a page returning a lot of > data, try breaking rows of data into their own tables, then the user won't have to > wait five years for all the data to arrive before viewing at least some of it :) Of course, you are right about the good practice. The thing is, I have a little form with a text area where I can enter or paste some PHP code and have PHP execute it right away, without going through the trouble of creating a file, naming it, saving it etc. I use it quite a lot to try all kinds of things, syntax etc. Anyway, I added the HTML and BODY tags and the behavior is still the same. Andrian

« previous php.windows (#2160) next »