note 34309 added to function.flush
| From: | jthome at fcgov dot com | Date: | Wed, 23 Jul 2003 18:52:35 +0000 |
| Subject: | note 34309 added to function.flush | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52505@lists.php.net to get a copy of this message | ||
This may not be obvious from the previous posts.
You must flush all HTML up to and including the <body> tag (<head>, <meta>, etc.),
or the browser won't respond. This would have the effect of "blanking" the page
while waiting for the script to complete. This is in addition to the other tips posted.
Most users expect something immediate to happen when they click on a link. "Blanking" the
page is often times better for those not accustomed to keeping an eye on their browser's
progress bar.
----
Manual Page -- http://www.php.net/manual/en/function.flush.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34309
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34309&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34309&report=yes