Hi,

Try adding 

ob_start()

as the first line of your script. This will turn on Output Buffering for that script 
alone.


-- 
==========================================
The most successful method of programming is to begin a program as
simply as possible, test it, and then add to the program until it
performs the required job."              -- PDP8 handbook, Pg 9-64

Our contact numbers have changed!
Phone: +91(44) 819 -1334, -1336, -1337, -1338, 819 3335
Fax: +91(44) 819 2339

Deepak Kumar Vasudevan, Software Engineer
CS Software Solutions Pvt. Ltd.
425 Pantheon Road, Egmore, Chennai 600 008, INDIA
URL: www.cssolutionsinc.com 
==========================================
"Tracker1" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]...
> turn buffering on in your php.ini file...
> 
> Odds are the "logic" is sending some text to the page, before
> you want to add the header information.
> 
> --
> =======================================================================
> Michael J. Ryan  -  tracker1 at theroughnecks dot com
> Roughneck BBS: http://www.theroughnecks.net  telnet://theroughnecks.net
> =======================================================================
> Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
> One program for aim/icq/yahoo/msn/irc  -  http://www.trillian.cc/
> 
> 
> "R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> >
> > I'm having a bit of trouble understanding why I'm getting a "Cannot add
> > header information; Headers already sent" error message.  I have several
> > pages where I'm using the headers with no problems...but this single
> > page I keep getting the error.  The only real difference is that this
> > page has a bunch of logic checks before it calls the header command.
> >
> > What is the cause of this error?  what sort of things should I check
> > for?
> >
> > I'm lost,
> > Ron
> --- Synchronet NewsLink v1.00 Beta
>  *  Roughneck BBS - www.theroughnecks.net - telnet://theroughnecks.net

Reply via email to