On Tue, June 26, 2007 8:54 am, Robin Vickery wrote:
CON:
On a dev server, when you screw up and write an infinite loop, PHP
spends a hell of a lot more time spinning its wheels before you kill
it because your infinitely long output is all buffered up.
[innocent voice]
Not that that has ever
On Tue, June 26, 2007 7:33 am, Emil Edeholt wrote:
My php project would get a much cleaner code if I could set cookies
anywhere in the code. So I thought of output buffering. But I can't
find
any articles on the cons of output buffering. I mean it most be a
reason
for it being off by
On Tue, 2007-07-03 at 02:23 -0500, Richard Lynch wrote:
On Tue, June 26, 2007 8:54 am, Robin Vickery wrote:
CON:
On a dev server, when you screw up and write an infinite loop, PHP
spends a hell of a lot more time spinning its wheels before you kill
it because your infinitely long output
Hi!
My php project would get a much cleaner code if I could set cookies
anywhere in the code. So I thought of output buffering. But I can't find
any articles on the cons of output buffering. I mean it most be a reason
for it being off by default?
Kind Regards Emil Edeholt
--
PHP General
On Tue, 2007-06-26 at 14:33 +0200, Emil Edeholt wrote:
Hi!
My php project would get a much cleaner code if I could set cookies
anywhere in the code. So I thought of output buffering. But I can't find
any articles on the cons of output buffering. I mean it most be a reason
for it being
Thanks for your help Dave and Rob. I will start using output buffering a
lot more now.
Regards Emil
Robert Cummings wrote:
Cons of output buffering:
- tncy weency time overhead
- memory overhead since buffered content remains in memory
until flushed.
Cheers,
Rob.
Robert Cummings wrote:
On Tue, 2007-06-26 at 14:33 +0200, Emil Edeholt wrote:
Hi!
My php project would get a much cleaner code if I could set cookies
anywhere in the code. So I thought of output buffering. But I can't find
any articles on the cons of output buffering. I mean it most be a
On Tue, 2007-06-26 at 14:09 +0100, Stut wrote:
Robert Cummings wrote:
On Tue, 2007-06-26 at 14:33 +0200, Emil Edeholt wrote:
Hi!
My php project would get a much cleaner code if I could set cookies
anywhere in the code. So I thought of output buffering. But I can't find
any articles
On 26/06/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Tue, 2007-06-26 at 14:09 +0100, Stut wrote:
Robert Cummings wrote:
On Tue, 2007-06-26 at 14:33 +0200, Emil Edeholt wrote:
Hi!
My php project would get a much cleaner code if I could set cookies
anywhere in the code. So I thought
These two reasons are in fact of little impact.
The real problem I have with output buffering in my web app is that it
doesn't handle .xls and .pdf files generated on the fly with PHP. Every
time the browser is going to download those kind of files it will get
corrupted.
The only solution I
10 matches
Mail list logo