[snip]
Learning about HTTP protocol helps a LOT with understanding headers.
Basically, the headers are generated by the server to tell the client
(browser) what to do.  If you send ANYTHING (even a hard return) before the
header function is invoked then you will get this error.  In essence, if you
are going to use the header() function without output buffering, then it
should be just like this:
[/snip]

As said before you can use Output Buffering to prevent this;

http://www.php.net/manual/en/function.ob-start.php

HTH!

Jay

p.s. Martin, did you figure out how to do the random quote mail tag? Maybe
we should have a contest....

Keep the Earth clean.it's not Uranus!

*************************************
* Want to meet other PHP developers *
* in your area? Check out:          *
* http://php.meetup.com/            *
* No developer is an island ...     *
*************************************



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to