|
Posted by Rik on 06/14/06 07:28
Tom wrote:
> I've narrowed my problem a bit. As part of my framework, I set
> various
> head variables (e.g. title, character-encoding, etc.) in an array
> ($HEAD) and then echo them by calling a function
> print_html_head($HEAD)
> which returns the document declaration and head portion of my web page
> as a string.
>
> So far so good. But when I now echo this string, the page reloads
> three times. To wit, breakpoint before echo statement, no reload.
> After echo statement, page reloads three times. Note also: the output
> is buffered, so it's not being output in the browser yet. And this is
> the first echo statement in the script.
>
> Anybody have any idea what this would be symptomatic of?
Incorrectly flushing the buffer?
What functions do you use to send the buffer?
Grtz,
--
Rik Wasmus
[Back to original message]
|