I have the following code in my software, but when the output it displayed, the tail end of the page is cut off... No idea why...
ob_start();
$out = BOLTmakepage();
$size = ob_get_length($out);
header("Content-Type: text/html; charset=utf-8");
header("Content-Length: $size");
header("Connection: close");
print_r($out);
ob_end_flush();
flush();
If I just replace all this with print_r(BOLTmakepage()); I get the proper page display. But then I can't get my browser to disconnect and start running my background functions. I'm wondering if this is a multi-byte issue? Thanks in advance for any help that can be given.
Cheers,
Dan