You are here: Re: Question about sessions_start and header()? « PHP Programming Language « IT news, forums, messages
Re: Question about sessions_start and header()?

Posted by Miguel Cruz on 07/26/06 18:36

bobmct <r.mariottiX@fdcx.netX> wrote:
> It appears that if NO output is done prior to the header() function then the
> session_start() will still work.
>
> Normally for debugging I display some variables as output and it appears
> that is what was biting me.
>
> As someone once said decades ago: "If the computer is smart enough to know
> its incorrect, then why isn't it smart enough to correct it?"

ob_start() is your friend.

miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu

 

Navigation:

[Reply to this 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

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