[PHP-WIN] Re: "Headers already sent" error message

2002-09-10 Thread Steve Yates
> "R.S. Herhuth" <[EMAIL PROTECTED]> schreef in bericht > news:[EMAIL PROTECTED]... > > What is the cause of this error? what sort of things should I check > > for? I didn't see the code if you posted it, but make sure there are no blank lines before your script starts. Even one blank line

[PHP-WIN] Re: "Headers already sent" error message

2002-09-10 Thread M.B.
But if you are using an if (/else) statement, then you can do the following to fix it. if($...){ } exit; else { } exit; So if you would have an header in one of the two place, you can fix it like this, but then you have to use the exit-command on both places!! "R.S. Herhuth" <[EMAIL PROTECTED]

[PHP-WIN] Re: "Headers already sent" error message

2002-08-26 Thread Deepak Kumar Vasudevan
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 un