Use an '@' sign as "@ob_flush();" to avoid the following message:
Notice: ob_flush(): failed to flush buffer. No buffer to flush. in /etc/www/test.php on line 88
![]() |
|
||||||||||
|
ob_flushDescriptionvoid ob_flush ( void )This function will send the contents of the output buffer (if any). If you want to further process the buffer's contents you have to call ob_get_contents() before ob_flush() as the buffer contents are discarded after ob_flush() is called. This function does not destroy the output buffer like ob_end_flush() does. See also ob_get_contents(), ob_clean(), ob_end_flush() and ob_end_clean(). ob_flush
solidli at gmail dot com
23-May-2007 09:28
Use an '@' sign as "@ob_flush();" to avoid the following message:
21-Sep-2005 06:37
I was having problems with output buffering which seemed to be active by default on the server, although phpinfo said something else..
24-Jun-2005 06:27
You must call them in the correct order.
Reynard Hilman
22-Jun-2005 02:29
when using command line php, if somewhere in your script you have ob_start(), you have to call ob_end_flush() first, and then you can call these functions:
jeremy at e2-media dot co dot nz
25-May-2005 04:09
we had problems with flushing data to the browser. a simple call to ob_flush() or flush() would not work. We found that repeatly calling theses fuctions did work however.
14-Jan-2003 08:23
As far as I can tell the only way to mimic ob_flush()'s behaviour on PHP < 4.2.0 is calling ob_end_flush() followed by ob_start().
|