Good afternoon dear friends. The other day there was a problem with ob_end_flush()
, it stopped working. I can not find out the reason. The code is as follows.
if(ob_end_flush()){ ob_start(); curl запрос на сайт и прочие фильтры $data = ob_get_content(); } flush();
Put else
also did not give the result in the case of false. and when I remove if(ob_end_flush()){ } flush();
then everything works. But the only thing is that the result displays but not as it should;