Reply to Re: [PHP] ob_start & session_start

Your name:

Reply:


Posted by Joe Harman on 12/08/05 06:25

Okay.. makes sense after you spelled it out to me... LOL... I always
start my session first.. so, that must why i have never had any
problems

Cheers & Thanks!
Joe


On 12/7/05, Zack Bloom <zackbloom@gmail.com> wrote:
> yes, it will display the content in the buffer before creating the session.
> If your session uses cookies (this is usually automatically decided by php)
> it cannot send out the header after the buffer.
>
>
> On 12/7/05, Joe Harman <cjharman@gmail.com> wrote:
> >
> > Hello,
> >
> > Something just crossed my mind about using output buffering.... is
> > there any reason why you should start a session before calling
> > ob_start() ???
> >
> > Just curious which way would be the proper way of doing it... or
> > doesn't it matter?
> >
> > Thanks
> >
> > --
> > Joe Harman
> > ---------
> > * My programs never have bugs, they just develop random features.
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>


--
Joe Harman
---------
* My programs never have bugs, they just develop random features.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация