The issue I am having I am am needing to steam output when I echo something in a loop. Now typically I would put something such as
ini_set('output_buffering', 'off');
ini_set('zlib.output_compression', false);
ob_end_flush();
while (@ob_end_flush());
ini_set('implicit_flush', true);
ob_implicit_flush(true);
header("Content-type: text/html");
header('Cache-Control: no-cache');
at the top of the page and then call
echo 'Something to print out here';
ob_flush();
flush();
However this is not working at all. I get no errors generated or shown it just doesn't output immediately as desired without buffering. It seems to have no effect at all. I have also tried altering the php.ini file. This also has no effect. I have tried this on 2 different versions of PHP Desktop. I have tried it on PHP Desktop 47.0 Chrome which uses PHP 5.4 and the lastest that just came out PHP Desktop 57.0 which utilizes PHP 7. Any insight would be greatly appreciated.
UPDATE I received a response back from the developer of php desktop and he didn't know why it wasnt working and suggested that Mongoose web server which php desktop utlizes may not support this. Would anyone have more experience with Mongoose than I? I have never really used it other than when using php desktop