Re: Re: No redirect with header() [solved]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/20/05, Oliver Grätz <oliver.graetz@xxxxxxxx> 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

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux