- Trang khách hàng
- Câu hỏi thường gặp
- Lỗi nhỏ thường gặp
- flush() error not working

Thư mục
Thư mục
flush() error not working
<?_set('zlib.output_compression',0);
@ini_set('implicit_flush',1);
@ob_end_clean();
set_time_limit(0);
ob_implicit_flush(1);
for($i=0; $i<10; $i++){
echo $i;
//this is for the buffer achieve the minimum size in order to flush data
echo str_repeat(' ',1024*64);
sleep(1);
}
?>
// loi khong load duoc processber do ham flush() khong hoat dong, giai phap code tren.
Câu trả lời này hữu ích?
Bài viết liên quan

Code Type Description -1001 General System Error -2001 Required Field Missing The return text...

Sử dụng lệnh sau để khắc phục: yum install perl-Time-HiRes yum install -y perl-libwww-perl Sau...

Khi bạn gặp phải trường hợp không đăng nhập vào được Roundcube trên cpanel do một nguyên nhân nào...

Để khắc phục lỗi Khắc phục lỗi Cannot modify header information bạn xem các cách sau: + Phương...

Bạn thử tìm đến file bị báo lỗi, sau đó xóa bỏ ký tự &. Nguyên nhân do bạn đang sử dụng PHP...
Powered by WHMCompleteSolution