Re: Buffering problem
| From: | Dan Joseph | Date: | Fri, 15 Aug 2008 18:23:54 +0000 |
| Subject: | Re: Buffering problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278174@lists.php.net to get a copy of this message | ||
On Fri, Aug 15, 2008 at 2:18 PM, Anders Norrbring <anders@norrbring.se>wrote:
> I'm trying to make php output things sequentially as they're
> printed/echoed.. No luck. It's buffered to the end of the script, and then
> it comes on to screen.
> This is while running Apache2, in a cli session it works fine.
>
> The script does *not* have any buffering commands at all.
> The web server does not have mod_gzip installed.
>
> I'm running out of ideas to where to look for this, so can you please give
> me some pointers?
>
> Anders.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Take a look at http://us.php.net/manual/en/function.ob-flush.php
-- There
are some examples at the bottom on how to do this.
--
-Dan Joseph
www.canishosting.com - Plans start @ $1.99/month.
"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."