If you include ob_start() at the beginning of the code this will turn
output buffering on and hence enable you to send the header() tag at any
line in the code.
Peter
-Original Message-
From: Ryan F. Bayhonan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 5 February 2002 5:54 PM
To: Peter; [
I don't know if this is related but header() must be called before any
actual output is sent.
One way to resolve this is to use the ob_start() tag at the start of the
code, this turns output buffering on.
Mind you I am no expert and stand ready to be corected and berated.
Peter
I wanted to hi
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
> > /home/p/pe/perp
3 matches
Mail list logo