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? Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.