note 50610 added to function.flush
| From: | siggiATjunesystemsDOTcom at osu1 dot php dot net | Date: | Fri, 04 Mar 2005 15:54:29 +0000 |
| Subject: | note 50610 added to function.flush | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85926@lists.php.net to get a copy of this message | ||
After searching through the PHP site, google and various forums, not finding a solution to my script
not outputting anything while calling flush and ob_flush, I thought of trying to tell PHP to call:
session_write_close();
before starting echo'ing. It worked like a charm. I couldn't find any references to this,
so I hope this note will help someone in the future.
----
Manual Page -- http://www.php.net/manual/en/function.flush.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50610
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50610&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50610&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50610&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50610&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50610&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50610&report=yes
Search -- http://master.php.net/manage/user-notes.php