php缓冲区操作
日期:2021-08-07 00:35:04 浏览:307
缓冲区操作
ob_start();
phpinfo();
$string = ob_get_contents();
file_put_contents('a.html', $string);
ob_flush();//将数据从php的buffer中释放出来
flush(); //将释放出来的数据发送给浏览器
上一篇: vue父子组件间的相互访问方式
日期:2021-08-07 00:35:04 浏览:307
缓冲区操作
ob_start();
phpinfo();
$string = ob_get_contents();
file_put_contents('a.html', $string);
ob_flush();//将数据从php的buffer中释放出来
flush(); //将释放出来的数据发送给浏览器
上一篇: vue父子组件间的相互访问方式