Re: [PHP] Re: Buffering output to allow headers late in code?

2010-10-14 Thread chris h
> > > Then someone said that using buffering was a bad idea and I should disable > it. > > I think it leads to poor habits like calling controller methods out of the view (essentially what you are wanting to use it for). Using it like that is asking for spaghetti code that's hard to maintain, scale

[PHP] Re: Buffering output to allow headers late in code?

2010-10-14 Thread MikeB
Peter Lind wrote: Just out of curiosity: why were you told to switch off output buffering? Regards Peter I can't find the thread now, but it was in regards to my early experiments with cookies. I was creating cookies and it worked mid-code, since buffering was active. Then someone said t

Re: [PHP] Re: Buffering output to allow headers late in code?

2010-10-14 Thread Peter Lind
Just out of curiosity: why were you told to switch off output buffering? Regards Peter -- WWW: plphp.dk / plind.dk LinkedIn: plind BeWelcome/Couchsurfing: Fake51 Twitter: kafe15 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Buffering output to allow headers late in code?

2010-10-14 Thread Richard Quadling
On 14 October 2010 15:09, Richard Quadling wrote: > then that is _PROBABLY_ of for a small one of script or a very very "... _PROBABLY_ ok ..." -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Re: Buffering output to allow headers late in code?

2010-10-14 Thread Richard Quadling
On 14 October 2010 15:01, MikeB wrote: > chris h wrote: >>> >>> >>> I'm working through my class on PHP and I tried to put information from >>> my >>> sign-on process in the navbar. This didn't work well, since I had to >>> reload >>> the page to see it as the navbar was constructed earlier in the

[PHP] Re: Buffering output to allow headers late in code?

2010-10-14 Thread MikeB
chris h wrote: I'm working through my class on PHP and I tried to put information from my sign-on process in the navbar. This didn't work well, since I had to reload the page to see it as the navbar was constructed earlier in the code than the signon process. (Hard to explain, as we are buildin

SV: [PHP] Re: Buffering problem

2008-08-16 Thread Anders Norrbring
> Anders Norrbring a écrit : > > I'm running out of ideas to where to look for this, so can you please > give > > me some pointers? > >I guess it is that you're seeking for : > flush> Thank you! Worked just as I want..

[PHP] Re: Buffering problem

2008-08-15 Thread Lupus Michaelis
Anders Norrbring a écrit : I'm running out of ideas to where to look for this, so can you please give me some pointers? I guess it is that you're seeking for : -- Mickaël Wolff aka Lupus Michaelis http://lupusmic

[PHP] Re: buffering headers before send

2005-05-07 Thread Claudio
"M. Sokolewicz" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > ob_start buffers both `normal` output AND headers. Humm, now it works... Is there something else that must be set, so that ob_start() works or not? Something like an php.ini entry? Here is the listing of ob_start.php5 "; $x = ob_get_cl

[PHP] Re: buffering headers before send

2005-05-07 Thread M. Sokolewicz
Claudio wrote: Hi, is there a way to buffering headers before sending like "ob_start()" ? Thanks, Claudio ob_start buffers both `normal` output AND headers. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Buffering

2004-12-16 Thread Lorderon
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message: > > I need to store chunks of output into files. > > Which output and why? any output of the program that goes to php://stdout.. if from echo, print, var_dump, code breaking, etc... why? cuz I want to get chunks of output into variables to make