Reply to Re: Header already sent

Your name:

Reply:


Posted by macca on 06/23/07 01:05

As we have establisted, this error is caused by sending information to
the browser before sending some header information such as a session
start.

if it works on your first visit but not on subsequesnt ones then you
must be sending some information to the browser before your header
info in that conditional statement.

remember:

NO OUTPUT BEFORE HEADERS

no line breaks,
no white space,
nothing.
(and definately no HTML!)

Dont have the session_start() function in your include file if you
call it from the initial script.

You could also check to see if the session is started already by using
the isset() construct.

hope this is of some help.

[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

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