Re: Re: No redirect with header() [solved]
| From: | Dotan Cohen | Date: | Fri, 21 Oct 2005 02:42:30 +0000 |
| Subject: | Re: Re: No redirect with header() [solved] | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224377@lists.php.net to get a copy of this message | ||
On 10/20/05, Oliver Grätz <oliver.graetz@arcor.de> wrote:
> So perhaps it was good that I was pushing to see the code ;-)
> So you looked more closely...
>
> Tip: I put an output buffer around my "not supposed to output anything"
> code:
>
> <?php
> ob_start();
> // include function libraries, perform non-visible stuff etc.
> $premature=ob_get_clean();
> // if premature is non-empty then there was premature output => log to file
>
> // regular output
> ?>
>
> This could help you in preventing some output problems in the future.
>
> OLLi
>
>
Most certainly! Thank you.
Dotan
http://lyricslist.com/lyrics/artist_albums/360/motley_crue.php
Motley Crue Song Lyrics