Jump to content

seaware

New Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About seaware

  • Rank
    Newbie
  1. It seems this topic hasn't been touched in a while, but I had a similar problem and wanted to pass along the solution I found. In spite of turning off output buffers and compression, I found network and browser buffers were getting in the way. All the progress messages were only shown in the final milliseconds on the browser. The solution was to simply fill the pipeline with spaces before the flush. My entire solution that worked was: echo "$i % complete...<br>"; // Padding in case of other browser or network buffers echo(str_repeat(' ', 4096)); // Now, force this to be immediatel
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.