One for the PHP peeps:

If your using sessions and keep getting an error about how the headers cannot be sent because they have already been sent this usually occurs because the session_start() function was called after you started printing to the user’s browser (i.e. a print / echo call or straight HTML). Simply make <? session_start(); ?> as the first thing in your code (i.e. the very first line) and it’s all good.

Written on December 24th, 2003 , Informative

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something is proudly powered by WordPress and the Theme Adventure by Eric Schwarz
Entries (RSS) and Comments (RSS).

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something

Personal jorunal of a professional geek – James Pearce in Perth, Australia