dpacmittal Posted January 30, 2010 Share Posted January 30, 2010 The following script is working fine on my computer but not on my host: <?php include('common.php'); ini_set('output_buffering','on'); ini_set('zlib.output_compression', 0); //ini_set('implicit_flush',1); ob_implicit_flush(); for($i=0;$i<10;$i++) { echo $i; echo str_repeat(" ", 500); ob_flush(); flush(); sleep(1); } ?> Any idea how I can fix it or find out what the exact problem is so I can troubleshoot with my host? Link to comment https://forums.phpfreaks.com/topic/190377-flush-not-working/ Share on other sites More sharing options...
The Little Guy Posted January 30, 2010 Share Posted January 30, 2010 Some hosts disable php buffer flushing (like mine), so it could be higher up, I would recommend contacting your host company to see if that is the issue. Link to comment https://forums.phpfreaks.com/topic/190377-flush-not-working/#findComment-1004390 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.