I am making an application where I use ob_start() function. Its works fine on my local machine, but when I launch it on online server, this doesn't work. No error displayed, just empty page is displayed. Have to do any configuration on server? Please help me. Thanks my code is as below
ob_start();
include("text.php");
$data = ob_get_contents();
ob_end_clean();