Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • You may want to call @ob_flush() as well. Commented Feb 2, 2011 at 4:17
  • @RC: just curious, why do you need an '@' before ob_flush? I'd use: if(ob_get_level() > 0) ob_flush(); Commented Feb 2, 2011 at 4:50
  • @Roger, do you use output buffering or have output compression enabled? Commented Feb 2, 2011 at 10:29
  • @meze, it suppresses an error that you will get if output buffering is not enabled. Commented Feb 2, 2011 at 10:29
  • 1
    @Roger, it sounds like you have output buffering issues. Are you on shared hosting? Do you have a demo page I can look at, and/or a phpinfo output. Commented Feb 2, 2011 at 21:07