RE: [PHP] Re: Cannot add header information

2003-02-20 Thread John W. Holmes
Guys, Guys, why are you harrasing this poor chap? one sure simple way is.. at the begining ? ob_start(); Starts output beffering.. and at the end, ob_end_flush(); ? Throws out all the buffered output to the browser at the other end. now add header info any place before

Re: [PHP] Re: Cannot add header information...

2001-11-22 Thread Peter Brown
If you add ob_start(); at the start of your code, then you will be able to set Headers anywhere in your page. Peter Per Waagen wrote: Warning: Cannot add header information - headers already sent by (output started at /home/p/pe/perphp/public_html/login.php:4) in