You can't redirect after sending output unless you use Javascript or some
other weirdness.  Redirections are done before any output.

-Rasmus

On Fri, 22 Feb 2002, Michael P. Carel wrote:

> Hi ,
>
> I  have a problem in using the Header() function. I want to automatically
> redirect the page into another php script after a form completion but im
> receiving this error "Warning: Cannot add header information - headers
> already sent by ......"
>
> Heres the script line:
>
> header("Location: 8D_Anaform_Admin.php?action=form");
>
> Please help im stuck here.
>
>
>
>
> Regards,
> Mike
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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

Reply via email to