I'm playing with some code that performs a few heavy DB queries, and uses calls to the flush() function in order to give the user some basic progress information.
This works fine on my paid-for web hosts configuration, butnot on any of my home setups. I don't expect it to work on Win32 as the manual states that is won't, but the flush() command doesn't seem to have any effect on my Linux/Apache/php setup either.
One of the user notes on the manual page for flush() is to call ob_flush() as well - but if I try that PHP reports that the ob_flush doesn't exist... [though it doesn't complain about ob_start].
FYI: the versions I have installed are:
Apache 1.3.26
PHP 4.1.2
Over-all the machine is a fairly basic/standard Debian Woddy [kernel 2.2.20] setup.
Are there any settings that I have missed that enable/change the output buffering behaviour?