Re: redirect without using header
| From: | Cece) Szabolcs | Date: | Wed, 13 Nov 2002 12:53:20 +0000 |
| Subject: | Re: redirect without using header | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124202@lists.php.net to get a copy of this message | ||
Hello!
> I am getting an error by using header but I couldn't
> find any part of my code that output anything before
> using header.
Check your included files what included before using header();
These files start with <? and ends with ?> without whitespace after that?
And you can use ob_start() at the start and ob_end_flush() at the end,
and no problems with outputting before add headers.
=============================================================
Heilig (Cece) Szabolcs - cece@php.net - http://www.phphost.hu
=============================================================