Re: sleep() & flush()
| From: | Andy Hoffman | Date: | Fri, 25 Aug 2000 16:26:11 +0000 |
| Subject: | Re: sleep() & flush() | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2158@lists.php.net to get a copy of this message | ||
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 :)
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com