Answer the question
In order to leave comments, you need to log in
How to display a delayed view at the time of editing the buffer through callback ob_start?
I need to get the result of the output of the connected php file or any other function to the browser buffer while editing the buffer output to the browser
ob_start("onBufferFlush");
function onBufferFlush ($buffer)
{
ob_start();
include("template.php");
$content = ob_get_clean();
return $content . $buffer;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question